You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Float32Dtype and Float64Dtype for nullable floats (which gives a way to distinguish a NaN that was produced by invalid computation from a True missing value)
which are all based on pandas.NA. Because missing values are becoming more and more important to handle, we see other projects supporting this feature as well, for example
What does to_numpy or .values do? We don't directly do anything with pandas data types except immediately turn them into numpy arrays.
If numpy starts supporting other invalid flags we can discuss what to do (probably just add a bunch of redundant checks) but from Matlotlibs point of view I'm not sure there is an action here?
Problem
Since a while now, pandas is moving towards better support for data with missing values: https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html
In particular, they introduced nullable data types:
which are all based on
pandas.NA
. Because missing values are becoming more and more important to handle, we see other projects supporting this feature as well, for exampleProposed solution
Matplotlib should detect
pandas.NA
and treat it like a missing value. (e.g. likenumpy.nan
)The text was updated successfully, but these errors were encountered: