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

[BUG] 0.19 cudf empty df assignment issues #8023

Closed
jperez999 opened this issue Apr 21, 2021 · 0 comments · Fixed by #8026
Closed

[BUG] 0.19 cudf empty df assignment issues #8023

jperez999 opened this issue Apr 21, 2021 · 0 comments · Fixed by #8026
Assignees
Labels
bug Something isn't working Python Affects Python cuDF API.

Comments

@jperez999
Copy link
Contributor

Describe the bug
Cannot perform previously available functionality against empty dataframe.

Steps/Code to reproduce bug
!!!Cudf branch 0.19!!!

import cudf
jdf = cudf.DataFrame({"alpha": [1,2,3,3,4,5,6]})
gdf = cudf.DataFrame()
new_cols = [c for c in jdf.columns if c not in gdf.columns]
gdf[new_cols] = jdf[new_cols]
print(gdf)

result:

Empty DataFrame
Columns: [alpha]
Index: []

Expected behavior
Expect dataframe gdf to have the column names and values of the jdf dataframe new_cols columns. This change occurred about a week ago.

@jperez999 jperez999 added Needs Triage Need team to review and classify bug Something isn't working labels Apr 21, 2021
@kkraus14 kkraus14 added Python Affects Python cuDF API. and removed Needs Triage Need team to review and classify labels Apr 21, 2021
@vyasr vyasr self-assigned this Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants