The solution to every exercise in the course's notebooks, and why it works. Use it when you have been stuck on an exercise for ten minutes, or when your check is green and you want to compare. Each answer stays closed until you ask for it.
1. Start here
- Start here
00_start.py: 4 of 4 exercises explained
2. Get the tables: from regional databases to one flat table
- Get the tables: from regional databases to one flat table
10_flat_table.py: 8 of 8 exercises explained
3. Match the keys
- Match the keys
20_key_matching.py: 10 of 10 exercises explained
4. Edit rules and duplicates
- Edit rules and duplicates
30_edit_rules.py: 8 of 8 exercises explained
Debugging drill D1. Debugging drill: a flat table that lies
- Debugging drill: a flat table that lies
35_debugging_drill.py: 6 of 6 exercises explained
Stretch exercises S1. Stretch: processing
- Stretch: processing
36_stretch_processing.py: 5 of 5 exercises explained
5. Recode and tabulate
- Recode and tabulate
40_recode_and_tabulate.py: 7 of 7 exercises explained
6. Estimate under the survey design
- Module 6: Estimate under the survey design
50_design_estimates.py: 9 of 9 exercises explained
7. Publish the tables
- Module 7: Publish the tables
60_publish_tables.py: 3 of 3 exercises explained
Stretch exercises S2. Stretch: tabulation
- Stretch: tabulation
61_stretch_tabulation.py: 11 of 11 exercises explained
8. Anomalies by rule and by statistics
- Module 8: Anomalies by rule and by statistics
70_anomalies_rules.py: 11 of 11 exercises explained
9. Anomalies with machine learning
- Anomalies with machine learning
80_anomalies_ml.py: 8 of 8 exercises explained
Debugging drill D2. Debugging drill: a detector that flags the wrong rows
- Debugging drill: a detector that flags the wrong rows
85_debugging_drill.py: 6 of 6 exercises explained
Stretch exercises S3. Stretch: detection
- Stretch: detection
81_stretch_detection.py: 4 of 4 exercises explained
Capstone. Capstone
- Capstone
99_capstone.py: 6 of 6 exercises explained
Primer P1. Primer: from R to Python
- Primer: from R to Python
95_primer_r_to_python.py: 3 of 3 exercises explained
Primer P2. Primer: survey sampling in one page
- Primer: survey sampling in one page
96_primer_survey_sampling.py: 2 of 2 exercises explained