Skip to content

Remove deprecated .from_pandas constructors#20925

Merged
rapids-bot[bot] merged 2 commits intorapidsai:mainfrom
mroeschke:rm/cudf/from_pandas
Dec 30, 2025
Merged

Remove deprecated .from_pandas constructors#20925
rapids-bot[bot] merged 2 commits intorapidsai:mainfrom
mroeschke:rm/cudf/from_pandas

Conversation

@mroeschke
Copy link
Copy Markdown
Contributor

Description

Deprecated in 25.12, xref #19996

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 self-assigned this Dec 19, 2025
@mroeschke mroeschke requested a review from a team as a code owner December 19, 2025 19:32
@mroeschke mroeschke added the Python Affects Python cuDF API. label Dec 19, 2025
@mroeschke mroeschke requested a review from vyasr December 19, 2025 19:32
@mroeschke mroeschke added improvement Improvement / enhancement to an existing function breaking Breaking change labels Dec 19, 2025
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions Bot added the cudf.pandas Issues specific to cudf.pandas label Dec 19, 2025
@GPUtester GPUtester moved this to In Progress in cuDF Python Dec 19, 2025
@mroeschke
Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot rapids-bot Bot merged commit ed2a5fb into rapidsai:main Dec 30, 2025
258 of 262 checks passed
@mroeschke mroeschke deleted the rm/cudf/from_pandas branch December 30, 2025 20:25
@github-project-automation github-project-automation Bot moved this from In Progress to Done in cuDF Python Dec 30, 2025
rapids-bot Bot pushed a commit to rapidsai/cuxfilter that referenced this pull request Jan 2, 2026
Nightly builds here are breaking like this:

```text
File /opt/conda/envs/docs/lib/python3.13/site-packages/cuxfilter/sampledata/random_signals.py:47
     44 data["Time"] = [start + datetime.timedelta(minutes=1) * i for i in range(n)]
     46 # Create a dataframe
---> 47 df = cudf.DataFrame.from_pandas(pd.DataFrame(data))

AttributeError: type object 'DataFrame' has no attribute 'from_pandas'
```

([build link](https://github.com/rapidsai/cuxfilter/actions/runs/20613315511/job/59201702539#step:12:1652))

I think because of rapidsai/cudf#20925

This switches to the `cudf.DataFrame` constructor to fix that.

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Ajay Thorve (https://github.com/AjayThorve)

URL: #751
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking change cudf.pandas Issues specific to cudf.pandas improvement Improvement / enhancement to an existing function Python Affects Python cuDF API.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants