TensorLearn
Back to Course
Data Intelligence: NumPy & Pandas
Module 12 of 15

12. Time Series Analysis

1. Seasonality

Detecting patterns that repeat (Weekly, Yearly).

python
from statsmodels.tsa.seasonal import seasonal_decompose result = seasonal_decompose(df['sales'], period=365) result.plot()

2. Prophet (Facebook)

Forecasting made easy.

python
m = Prophet() m.fit(df) future = m.make_future_dataframe(periods=365) forecast = m.predict(future)

Mark as Completed

TensorLearn - AI Engineering for Professionals