Last answered:

26 Apr 2023

Posted on:

26 Dec 2022

0

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)
Posted on:

26 Apr 2023

0

try: df.market_value

Submit an answer