0 / 34

Invite others

Progress

0 / 34

Retail Sales Forecasting

📋 Context

You have monthly sales data for a retail store over 12 months. You need to analyze trends, calculate moving averages, and identify the best/worst months.

1
2

Step 1: Sales Data

🎯 Task

Create monthly_sales with these values (Jan-Dec):
[45000, 42000, 48000, 51000, 55000, 62000, 58000, 61000, 53000, 49000, 68000, 75000]
Create months from 1 to 12 using np.arange.

np.array([45000, ...]) and np.arange(1, 13)
exercise.py
⌘⏎ run · ⌘← → nav
Output
Run your code to see output here.