0 / 34

Invite others

Progress

0 / 34

Weather Station Data

📋 Context

You're processing a week of temperature readings from 3 weather stations. Each station records a high and low temperature daily. You need to find trends and anomalies.

1
2

Step 1: Generate Data

🎯 Task

Create temps — a (7, 3, 2) array using a seeded RNG (seed 42). Generate integers from 50 to 105. The dimensions represent: 7 days × 3 stations × 2 readings (high, low). Print the shape.

rng = np.random.default_rng(42), rng.integers(50, 105, (7, 3, 2))
exercise.py
⌘⏎ run · ⌘← → nav
Output
Run your code to see output here.