I am trying to run
from statsmodels.tsa.seasonal import seasonal_decompose
series = Series.from_csv("sugar_price_2.csv", header=0, sep=";", parse_dates=[0])
results = seasonal_decompose(series, model='additive')
This is Giving an Errror
"AttributeError: 'Index' object has no attribute 'inferred_freq'"
Cant Figure Out what's the issue, please help,
Also , please Help me with the Date parsing if needed as The dates are in - "" dd-mm-yy " format