Open
Description
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:
- Nullable integer data type
- Nullable Boolean data type
- 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
Proposed solution
Matplotlib should detect pandas.NA
and treat it like a missing value. (e.g. like numpy.nan
)