Repeated VisibleDeprecationWarning when (pandas) plotting with categorical index
See original GitHub issueWhen I plot some pandas data with categorical index, with seaborn
imported, I get repeated and persistent warnings like this:
VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
example:
When I don’t do the seaborn
import, I just get one warning, which goes away when I re-execute the cell:
Used versions:
- pandas: 0.23.0
- python: 2.7.15.final.0
- numpy: 1.11.3
- IPython: 5.7.0
- seaborn: 0.8.1
- matplotlib: 2.0.2
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
arrays - Visible Deprecation warning...?
VisibleDeprecationWarning: boolean index did not match indexed array along dimension 1; ... import warnings warnings.filterwarnings("ignore", category=np.
Read more >[Code]-Avoid VisibleDeprecationWarning when creating a ...
I have a method which I apply on a pandas series to produce two columns as shown below. One of the returned column...
Read more >Introduction to Data Visualization with Matplotlib
Visualizing this type of data helps clarify trends and illuminates relationships between data. 2.1 Plotting time-series data. 2.1.1 Read data ...
Read more >What's new in 1.4.0 (January 22, 2022)
Global options under the category pd.options.styler have been extended to ... Bug in Index.get_indexer_non_unique() when index contains multiple np.nan ...
Read more >Module 1, Practical 8 — DS Scientific Programming Lab
import pandas as pd import matplotlib.pyplot as plt import numpy as np ... We can access the index with the Series.index method and...
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 Free
Top 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
FYI, my current workaround to suppress repetitive user warnings in Jupyter notebooks is to add this to the notebook:
Nice sleuthing!