Skip to content

Commit

Permalink
Filter all DeprecationWarning's by ArrowTable.to_pandas() (#14989)
Browse files Browse the repository at this point in the history
This PR filters all `DeprecationWarning`'s that are being originated by `ArrowTable.to_pandas`

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Matthew Roeschke (https://github.com/mroeschke)

URL: #14989
  • Loading branch information
galipremsagar authored Feb 7, 2024
1 parent 63a1c9e commit 285b836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ repos:
# DeprecationWarning: https://github.com/pandas-dev/pandas/issues/54970
exclude: |
(?x)^(
^python/cudf/cudf/core/dtypes.py
^python/cudf/cudf/core/dtypes.py|
^python/cudf/cudf/tests/pytest.ini
)
- id: no-programmatic-xfail
name: no-programmatic-xfail
Expand Down
2 changes: 2 additions & 0 deletions python/cudf/cudf/tests/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ filterwarnings =
error
ignore:::.*xdist.*
ignore:::.*pytest.*
ignore:Passing a BlockManager to DataFrame is deprecated:DeprecationWarning
# Above deprecation warning comes from Pyarrow Table.to_pandas() with pandas-2.2+

0 comments on commit 285b836

Please sign in to comment.