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

Use less _is_categorical_dtype #15148

Merged
merged 28 commits into from
Apr 10, 2024

Conversation

mroeschke
Copy link
Contributor

Description

Rehash of #14942

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@mroeschke mroeschke added Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 26, 2024
@mroeschke mroeschke requested a review from a team as a code owner February 26, 2024 23:36
Comment on lines 554 to 556
# TODO: Remove this work-around Dictionary types
# in libcudf are fully mapped to categorical columns:
# https://github.com/rapidsai/cudf/issues/3960
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This linked issue has been resolved. Is there an action to be taken here (i.e. removal of the workaround)?

Copy link
Contributor Author

@mroeschke mroeschke Feb 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears although the issue is closed, the latest PR that addressed this function notes that it's still awaiting libcudf handling of category type (#12571 (comment)) so I think this is still needed

@mroeschke
Copy link
Contributor Author

In bd7c126 I added a carve-out for cudf.dtype to accept "hex" as a data type. It seems to only be recognized by read_csv. Is/was there a desire to expand this throughout cudf?

@mroeschke mroeschke changed the base branch from branch-24.04 to branch-24.06 March 18, 2024 22:01
python/cudf/cudf/_lib/csv.pyx Outdated Show resolved Hide resolved
@galipremsagar
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit 460b41e into rapidsai:branch-24.06 Apr 10, 2024
70 checks passed
@mroeschke mroeschke deleted the rm/_is_categorical_dtype branch April 10, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants