Skip to content
RED SAG Skills
medium10 pts · first answer countspythonpandastime-series

resample raises a TypeError

df has a date column and a default RangeIndex. df.resample("ME").sum() raises "Only valid with DatetimeIndex". What is a correct fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions