Skip to content

Make cudf.pandas pandas tests able to run#22140

Merged
galipremsagar merged 2 commits intorapidsai:pandas3from
galipremsagar:pandas_test_fixes_1
Apr 15, 2026
Merged

Make cudf.pandas pandas tests able to run#22140
galipremsagar merged 2 commits intorapidsai:pandas3from
galipremsagar:pandas_test_fixes_1

Conversation

@galipremsagar
Copy link
Copy Markdown
Contributor

@galipremsagar galipremsagar commented Apr 14, 2026

Description

This PR replaced all 4 occurrences of dtype.type(x, _unit) in cudf.date_range() with
pd.Timestamp(x).as_unit(_unit).to_numpy(). pd.Timestamp correctly parses both compact ('20130101') and
dash-separated ('2013-01-01') date strings regardless of numpy version.

and removes cow patches that are not needed in pandas-3.

Checklist

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

@galipremsagar galipremsagar requested a review from mroeschke April 14, 2026 23:56
@galipremsagar galipremsagar self-assigned this Apr 14, 2026
@galipremsagar galipremsagar added bug Something isn't working Python Affects Python cuDF API. non-breaking Non-breaking change labels Apr 14, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Apr 14, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added the cudf.pandas Issues specific to cudf.pandas label Apr 14, 2026
@galipremsagar galipremsagar marked this pull request as ready for review April 14, 2026 23:57
@galipremsagar galipremsagar requested a review from a team as a code owner April 14, 2026 23:57
@galipremsagar galipremsagar requested review from vyasr and removed request for a team April 14, 2026 23:57
@GPUtester GPUtester moved this to In Progress in cuDF Python Apr 14, 2026
@galipremsagar galipremsagar merged commit ad87382 into rapidsai:pandas3 Apr 15, 2026
61 of 95 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in cuDF Python Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cudf.pandas Issues specific to cudf.pandas non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants