0 / 34
Scenario

Survey Data Cleanup

๐Ÿ“‹ Context

You received survey responses (ratings 1-5) from 50 respondents across 8 questions. Some responses are invalid (0 or 6+). You need to clean, analyze, and summarize.

1
2

Step 1: Generate Messy Data

๐ŸŽฏ Task

Use seed 99. Generate raw_survey โ€” 50 ร— 8 array of random integers from 0 to 7. This simulates messy data where 0 and 6-7 are invalid. Print its shape.

rng.integers(0, 8, (50, 8))
exercise.py
โŒ˜โŽ run ยท โŒ˜โ† โ†’ nav
โ–ถ Output
Run your code to see output here.