FutureWarning in Pandas 0.24.0
See original GitHub issuePandas 0.24.0 throws a FutureWarning
when used with Altair 2.3.0 here, which prevents the chart being rendered correctly. The message:
[my_virtualenv]/lib/python3.6/site-packages/altair/utils/core.py:294: FutureWarning: A future version of pandas will default to `skipna=True`. To silence this warning, pass `skipna=True|False` explicitly.
I notice that Altair’s requirements.txt
doesn’t specify version. Would it be worth doing so?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Contributing to pandas — pandas 0.24.0 documentation
Trying the bug-producing code out on the master branch is often a worthwhile exercise to confirm the bug still exists. It is also...
Read more >What's new in 0.24.0 (January 25, 2019) - Pandas
We can construct a Series with the specified dtype. The dtype string Int64 is a pandas ExtensionDtype . Specifying a list or array...
Read more >What's new in 1.4.0 (January 22, 2022) - Pandas
What's new in 1.4.0 (January 22, 2022)#. These are the changes in pandas 1.4.0. See Release notes for a full changelog including other...
Read more >Working with Text Data — pandas 0.24.0 documentation
Working with Text Data¶. Series and Index are equipped with a set of string processing methods that make it easy to operate on...
Read more >Indexing and Selecting Data — pandas 0.24.0 documentation
The Python and NumPy indexing operators [] and attribute operator . provide ... Starting in 0.21.0, pandas will show a FutureWarning if indexing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I pushed a fix in #1315
Fix is to explicitly pass
skipna=False
in this line: https://github.com/altair-viz/altair/blob/c4495f965db621e8bd0c2b3dd0390ef30ad33456/altair/utils/core.py#L72We’ll have to do it carefully, though, because prior to pandas 0.20.0,
infer_dtype
takes no keyword arguments.