For North, return month, revenue and moving_avg_3 — the average of this month and the two before it (fewer at the start), rounded to 0.
6 rows with columns month, revenue, moving_avg_3 — first 3 shown:
| # | |||
|---|---|---|---|
| 1 | 2025-01-01 | 420000 | 420000 |
| 2 | 2025-02-01 | 455000 | 437500 |
| 3 | 2025-03-01 | 430000 | 435000 |
Run your code to see the output here.