在使用seasonal_decompose()函数时报一下错误:
ValueError: You must specify a period or x must be a pandas object with a DatetimeIndex with a freq not set to None
故想用asfreq()函数来规定时间频率的间隔。
在使用seasonal_decompose()函数时报一下错误:
ValueError: You must specify a period or x must be a pandas object with a DatetimeIndex with a freq not set to None
故想用asfreq()函数来规定时间频率的间隔。