Just need a quick gut check. I am checking for seasonality using seasonal decompose function. I have close to two years worth of daily data. I believe my frequency should be 365 but would love a second opinion.
from statsmodels.tsa.seasonal import seasonal_decompose
from matplotlib import pyplot
df.reset_index(inplace=True)
df.date = pd.to_datetime(df.date)
df.set_index('date',inplace=True)
result_add = seasonal_decompose(df[['rev'], model='additive', freq=365)
result_add.plot()
pyplot.show()
I wanted to confirm my thinking was correct. Current the plot with the code above shows a trend but no seasonality line.
Any second opinions would be appreciated.