Skip to content

Fix comparison against pd.Series#4613

Merged
mrocklin merged 2 commits intodask:masterfrom
amerkel2:bugfix/fillna-series
Mar 20, 2019
Merged

Fix comparison against pd.Series#4613
mrocklin merged 2 commits intodask:masterfrom
amerkel2:bugfix/fillna-series

Conversation

@amerkel2
Copy link
Copy Markdown
Contributor

fixes #4596

  • Tests added / passed
  • Passes flake8 dask

@mrocklin
Copy link
Copy Markdown
Member

We switched to using is_series_like in order to support objects that looked like Pandas objects, but were not like cudf or, in some future, arrow.

@mrocklin
Copy link
Copy Markdown
Member

The underlying issue may be resolved in #4533

@amerkel2
Copy link
Copy Markdown
Contributor Author

No, even with #4533 merged the test added in this PR fails. The comment two lines above my change suggests that in this place, a different code path shall be taken for dask Series than for pandas series and similar. But is_series_like evaluates to True both for dask and pandas series, so it doesn't seem suitable here.

Co-Authored-By: amerkel2 <andreas.merkel@blue-yonder.com>
@mrocklin mrocklin merged commit 24bbcdb into dask:master Mar 20, 2019
@mrocklin
Copy link
Copy Markdown
Member

Thanks @amerkel2 . This is in!

Also, I notice that this is your first code contribution to this repository. Welcome!

@amerkel2
Copy link
Copy Markdown
Contributor Author

Thank you, it's a pleasure!

jorge-pessoa pushed a commit to jorge-pessoa/dask that referenced this pull request May 14, 2019
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

Successfully merging this pull request may close these issues.

dask.dataframe.fillna fails with "ValueError: cannot reindex from a duplicate axis"

2 participants