Skip to content
1 hidden cell
Statistical Thinking in Python (Part 1)
Statistical Thinking in Python (Part 1)
Run the hidden code cell below to import the data used in this course.
1 hidden cell
Take Notes
Add notes about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets hereExplore Datasets
Use the DataFrames imported in the first cell to explore the data and practice your skills!
- Pick five states from 
all_statesand create a bee swarm plot of the votes in those states. Each point should represent the share of the vote Obama got in a single country (dem_share), segmented by state. - Compute the variance and standard variance of 
dem_sharefor each state inswing_states. - Take 10,000 samples out of the normal distribution with the mean and standard deviation of the Belmont winners' times and plot it. This will require you to clean the 
Timecolumn to be numeric. - Check the normality of the Michelson measurements, specifically velocity of light in air, by plotting the theoretical and empirical CDFs on the same plot.