Skip to content

Conversation

@MarcoGorelli
Copy link
Member

closes #56732

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@MarcoGorelli MarcoGorelli marked this pull request as ready for review October 31, 2025 17:13
Comment on lines -278 to +299
pytest.importorskip("pyarrow", "11.0.0")
pytest.importorskip("pyarrow", "14.0.0")
Copy link
Member Author

Choose a reason for hiding this comment

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

otherwise the warning would be pyarrow-version-dependent - seeing as this is deprecated anyway, i didn't think it worth to make the test more complex

Comment on lines +126 to +129
"The Dataframe Interchange Protocol is deprecated.\n"
"For dataframe-agnostic code, you may want to look into:\n"
"- Arrow PyCapsule Interface: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html\n"
"- Narwhals: https://github.com/narwhals-dev/narwhals\n",
Copy link
Member Author

Choose a reason for hiding this comment

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

If it's deprecated, I think some alternative should be recommended

Is it too cheeky of me to stick Narwhals into here?

Copy link
Member

Choose a reason for hiding this comment

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

its probably not going to win any Best Practices awards, but i won't complain.

@mroeschke mroeschke added the Deprecate Functionality to remove in pandas label Nov 3, 2025
@mroeschke mroeschke added this to the 3.0 milestone Nov 3, 2025
@mroeschke mroeschke merged commit 865ae1d into pandas-dev:main Nov 3, 2025
47 checks passed
@mroeschke
Copy link
Member

Thanks @MarcoGorelli

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

Labels

Deprecate Functionality to remove in pandas

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move interchange protocol implementation into a separate project

3 participants