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] groupby.head on an empty dataframe results in CUDA error #13397

Closed
shwina opened this issue May 20, 2023 · 1 comment · Fixed by #13398
Closed

[BUG] groupby.head on an empty dataframe results in CUDA error #13397

shwina opened this issue May 20, 2023 · 1 comment · Fixed by #13398
Labels
bug Something isn't working

Comments

@shwina
Copy link
Contributor

shwina commented May 20, 2023

While this is an edge case, it leaves CUDA in an unusable state:

>>> df = cudf.DataFrame({}, index=[1, 2, 3])
>>> df.groupby(cudf.Series([1, 2, 3])).head()  # CUDA error
>>> # any further operations on the GPU fail

cc: @wence-

@shwina shwina added bug Something isn't working Needs Triage Need team to review and classify python and removed Needs Triage Need team to review and classify labels May 20, 2023
@wence-
Copy link
Contributor

wence- commented May 22, 2023

Ah, thanks for spotting!

rapids-bot bot pushed a commit that referenced this issue May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants