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

cudf.pandas: cuDF subpath checking in module __getattr__ #14388

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

shwina
Copy link
Contributor

@shwina shwina commented Nov 9, 2023

Closes #14384. x.startswith(y) is not a good enough check for if x is a subdirectory of y. It causes pandasai to be reported as a sub-package of pandas.

@shwina shwina requested a review from a team as a code owner November 9, 2023 16:36
@github-actions github-actions bot added the Python Affects Python cuDF API. label Nov 9, 2023
@shwina shwina added non-breaking Non-breaking change bug Something isn't working labels Nov 9, 2023
@shwina
Copy link
Contributor Author

shwina commented Nov 14, 2023

/merge

@rapids-bot rapids-bot bot merged commit e982d37 into rapidsai:branch-23.12 Nov 14, 2023
62 checks passed
copy-pr-bot bot pushed a commit that referenced this pull request Nov 22, 2023
Closes #14384. `x.startswith(y)` is not a good enough check for if `x` is a subdirectory of `y`. It causes `pandasai` to be reported as a sub-package of `pandas`.

Authors:
  - Ashwin Srinath (https://github.com/shwina)

Approvers:
  - https://github.com/brandon-b-miller

URL: #14388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] cudf.pandas doesn't work with pandasai (LLM-based chat interface to pandas dataframes)
2 participants