-
Notifications
You must be signed in to change notification settings - Fork 915
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
[BUG] can't merge dask-cudf dataframes when index is non-numeric? #12773
Comments
I'm curious about this bug. Thank you for raising the issue. |
Looks like at least one problem is that |
It isn't too difficult to get import pandas as pd, cudf
pdf = pd.DataFrame({"a": ["a", "b", "c"], "b": range(3)}).set_index("a")
gdf = cudf.from_pandas(pdf)
pdf.loc["a":"d"] # Works fine
gdf.loc["a":"d"] # Fails |
@wence- do you happen to know off-hand if this issue is already covered by something in #12793? If not, I can submit a new issue and link it. |
I think it is not, please add to the list! |
This is #12833. |
This aspect should now be fixed. Can we revisit the original issue? |
This looks like it is now fixed, we should probably add a test... |
Closes #12773. Authors: - Vyas Ramasubramani (https://github.com/vyasr) - Lawrence Mitchell (https://github.com/wence-) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Lawrence Mitchell (https://github.com/wence-)
Closes rapidsai#12773. Authors: - Vyas Ramasubramani (https://github.com/vyasr) - Lawrence Mitchell (https://github.com/wence-) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Lawrence Mitchell (https://github.com/wence-)
Describe the bug
Consider
This produces
This should work. I think something strange is going on, effectively
the error occurs because dask is trying to do
And this fails because the assignment column doesn't have the same
index as the dataframe.
Whose bug is this? Everything "works" with pandas-backed dataframes.
The text was updated successfully, but these errors were encountered: