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))
⌘⏎ run · ⌘← → nav
▶ Output
Run your code to see output here.