Problem: TIME SERIES PREDICTION for NIKE sales orders from 2020-2022
Questions:
**Nike sales order in 2021-07 went up from 5000 in 2020 to keep increasing to 40, 000. The monthly fluctuated increasing and decreasing every month. **
DATA VISULIZATION
import warningsimport matplotlib.pyplot as plty = df['Orders']fig, ax = plt.subplots(figsize=(20, 6))ax.plot(y,marker='.', linestyle='-', linewidth=0.5, label='Weekly')ax.plot(y.resample('M').mean(),marker='o', markersize=8, linestyle='-', label='Monthly Mean Resample')ax.set_ylabel('Orders')ax.legend();
留言