Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msnoise cc stack: TypeError due to pandas update #318

Open
asyates opened this issue Jan 24, 2024 · 0 comments
Open

msnoise cc stack: TypeError due to pandas update #318

asyates opened this issue Jan 24, 2024 · 0 comments

Comments

@asyates
Copy link
Contributor

asyates commented Jan 24, 2024

Got a TypeError when running msnoise cc stack due to xarray resampling method having compatibility issues with new pandas 2 update.

"/home/yatesal/.local/lib/python3.8/site-packages/xarray/core/common.py", line 1167, in resample grouper = pd.Grouper( File "/home/yatesal/.local/lib/python3.8/site-packages/pandas/core/resample.py", line 1663, in __init__ super().__init__(freq=freq, axis=axis, **kwargs) TypeError: __init__() got an unexpected keyword argument 'base'

Downgrading pandas to 1.5.3 resolves this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant