BUG: Series.plot.bar() raises TypeError on timedelta dtype #39320
Labels
Bug
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Regression
Functionality that used to work in a prior pandas version
Timedelta
Timedelta data type
Visualization
plotting
Code Sample, a copy-pastable example
Problem description
Pandas uses
fillna()
to produce valid data points. Unforunately, the data typetimedelta64[ns]
doesn't support setting to integer0
.Output:
Expected Output
Bar plot.
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: