Error in seasonal Decomposition
When I type
s_dec_additive = seasonal_decompose(df.Market_value,model = "additive")
I am getting following Error
ValueError: You must specify a period or x must be a pandas object with a PeriodIndex or a DatetimeIndex with a freq not set to None
1 answers ( 0 marked as helpful)
try: df.market_value