-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter all DeprecationWarning
's by ArrowTable.to_pandas()
#14989
Filter all DeprecationWarning
's by ArrowTable.to_pandas()
#14989
Conversation
pytestmark = pytest.mark.filterwarnings( | ||
"ignore", | ||
category=DeprecationWarning, | ||
message="Passing a BlockManager to DataFrame is deprecated", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cudf never deals with the pandas block manager right? If not, I would just globally ignore this in python/cudf/cudf/tests/pytest.ini
with ignore:Passing a BlockManager to DataFrame is deprecated:DeprecationWarning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't deal with it, it shows up every time when we do:
arrow_table = pa.table(...)
arrow_table.to_pandas()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, moved the filter to pytest.ini
python/cudf/cudf/tests/test_avro_reader_fastavro_integration.py
Outdated
Show resolved
Hide resolved
python/cudf/cudf/tests/test_avro_reader_fastavro_integration.py
Outdated
Show resolved
Hide resolved
/merge |
Description
This PR filters all
DeprecationWarning
's that are being originated byArrowTable.to_pandas
Checklist