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

Version incompatibilities of dask and pandas #92

Closed
observingClouds opened this issue May 9, 2023 · 2 comments
Closed

Version incompatibilities of dask and pandas #92

observingClouds opened this issue May 9, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@observingClouds
Copy link
Collaborator

The CI currently fails due to the following version incompatibility: dask/dask#10164

Error message from failing CI:

File /usr/share/miniconda/envs/how_to_eurec4a/lib/python3.9/site-packages/dask/dataframe/accessor.py:276, in StringAccessor()
    272         meta = (self._series.name, object)
    273     return self._function_map(method, pat=pat, n=n, expand=expand, meta=meta)
    275 @derived_from(
--> 276     pd.core.strings.StringMethods,
    277     inconsistencies="``expand=True`` with unknown ``n`` will raise a ``NotImplementedError``",
    278 )
    279 def split(self, pat=None, n=-1, expand=False):
    280     """Known inconsistencies: ``expand=True`` with unknown ``n`` will raise a ``NotImplementedError``."""
    281     return self._split("split", pat=pat, n=n, expand=expand)

AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'
AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'
@observingClouds
Copy link
Collaborator Author

Datashader is actually pinning pandas<2 for now: holoviz/datashader#1198 (comment), but this should be unnecessary after pydata/xarray#7785 has been released.

@observingClouds observingClouds added the good first issue Good for newcomers label Jun 22, 2023
@d70-t
Copy link
Collaborator

d70-t commented Sep 8, 2023

The CI is now green again and the mentioned xarray change apparently has also been released. I guess the issue can now be closed.

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

No branches or pull requests

2 participants