-
Notifications
You must be signed in to change notification settings - Fork 8
Failures with pandas>=3 #174
Copy link
Copy link
Open
Description
Since pandas has released a version 3, some errors have popped (e.g. in https://github.com/leosaffin/huracanpy/actions/runs/22228791588)
assess.matchwithconsecutive=Truedoesn't work- In
info.seasonwithconvention="tc-long"the output is a string array which now has an underlying typepandas.arrays.ArrowStringArraywhich doesn't allow it to use boolean indexing (the lineseason_nh = season[tracks_year.lat >= 0].astype(int)fails)
For now, I have set pandas<3 in pyproject.toml, but it would be good to fix the errors and unpin this. The second error looks like a bug in pandas or xarray that should get fixed, but I may have to reproduce and report it. Need some more work to figure out the first error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels