Closed
Description
Plotly express functions fall over when given dataframes containing pd.NA
values. I think these should have the same behaviour as None
values.
Example:
# This works
px.scatter(pd.DataFrame([1, 2, 3, None, 5]))
# This results in "TypeError: Object of type NAType is not JSON serializable"
px.scatter(pd.DataFrame([1, 2, 3, None, 5]).convert_dtypes())