Skip to content

GH-49628: [Python][Interchange protocol] Suppress warnings for pandas 4.0.0 and update docs#49630

Open
AlenkaF wants to merge 6 commits intoapache:mainfrom
AlenkaF:gh-49628-pandas-deprecation-warnings-interchange-protocol
Open

GH-49628: [Python][Interchange protocol] Suppress warnings for pandas 4.0.0 and update docs#49630
AlenkaF wants to merge 6 commits intoapache:mainfrom
AlenkaF:gh-49628-pandas-deprecation-warnings-interchange-protocol

Conversation

@AlenkaF
Copy link
Copy Markdown
Member

@AlenkaF AlenkaF commented Apr 1, 2026

Rationale for this change

Pandas is moving the dataframe interchange protocol out of the repo in the next major release (4.0.0).

What changes are included in this PR?

Filterwarnings are added and the pandas example is removed from the interchange documentation.

Are these changes tested?

Yes, via CI.

Are there any user-facing changes?

No.

@AlenkaF
Copy link
Copy Markdown
Member Author

AlenkaF commented Apr 1, 2026

@github-actions crossbow submit preview-docs

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Revision: 3a1ec92

Submitted crossbow builds: ursacomputing/crossbow @ actions-6bf4a861d6

Task Status
preview-docs GitHub Actions

@AlenkaF
Copy link
Copy Markdown
Member Author

AlenkaF commented Apr 1, 2026

Docs change: https://s3.amazonaws.com/arrow-data/pr_docs/49630/python/interchange_protocol.html#from-other-libraries-to-pyarrow-from-dataframe

There are no warnings present after docs doctest: https://github.com/apache/arrow/actions/runs/23837535049/job/69484852431?pr=49630#step:6:4427.

But I must have missed examples in the tests so I need to update those.

@AlenkaF AlenkaF marked this pull request as draft April 1, 2026 08:19
@AlenkaF AlenkaF marked this pull request as ready for review April 1, 2026 11:08
@AlenkaF
Copy link
Copy Markdown
Member Author

AlenkaF commented Apr 2, 2026

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels Apr 2, 2026
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants