Skip to content

Deprecate dataframe protocol#17736

Merged
rapids-bot[bot] merged 2 commits intorapidsai:branch-25.02from
vyasr:deprecate/dataframe_protocol
Jan 15, 2025
Merged

Deprecate dataframe protocol#17736
rapids-bot[bot] merged 2 commits intorapidsai:branch-25.02from
vyasr:deprecate/dataframe_protocol

Conversation

@vyasr
Copy link
Copy Markdown
Contributor

@vyasr vyasr commented Jan 14, 2025

Description

Resolves #17403

Checklist

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

@vyasr vyasr added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 14, 2025
@vyasr vyasr self-assigned this Jan 14, 2025
@vyasr vyasr requested a review from a team as a code owner January 14, 2025 18:08
@vyasr vyasr requested review from Matt711 and wence- January 14, 2025 18:08
@github-actions github-actions Bot added the Python Affects Python cuDF API. label Jan 14, 2025
Comment thread python/cudf/cudf/core/dataframe.py
@vyasr vyasr requested a review from Matt711 January 15, 2025 00:52
Comment thread python/cudf/cudf/core/dataframe.py
@vyasr
Copy link
Copy Markdown
Contributor Author

vyasr commented Jan 15, 2025

/merge

@rapids-bot rapids-bot Bot merged commit 2b6cf07 into rapidsai:branch-25.02 Jan 15, 2025
@vyasr vyasr deleted the deprecate/dataframe_protocol branch January 15, 2025 18:21
raydouglass pushed a commit to rapidsai/cuml that referenced this pull request Jan 21, 2025
Currently CI is failing due to
rapidsai/cudf#17736.

The `__dataframe__` protocol appears to be used internally by
scikit-learn:
https://github.com/scikit-learn/scikit-learn/blob/311bf6badd74bb69081eb90e2643f15706d3473c/sklearn/utils/validation.py#L389

Errors look like:
```
FAILED test_metrics.py::test_sklearn_search - FutureWarning: Using `__dataframe__` is deprecated
```

This PR ignores the `FutureWarning` to allow CI to pass.

---------

Co-authored-by: Dante Gama Dessavre <danteg@nvidia.com>
@vyasr vyasr mentioned this pull request Feb 4, 2025
3 tasks
rapids-bot Bot pushed a commit that referenced this pull request Feb 6, 2025
@vyasr
Copy link
Copy Markdown
Contributor Author

vyasr commented Feb 12, 2025

The final removal was #17909

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

Archived in project

Development

Successfully merging this pull request may close these issues.

[FEA] Deprecate and remove data interchange protocol

3 participants