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))
โโ run ยท โโ โ nav
โถ Output
Run your code to see output here.