this is the nav!
Workspace
Vinil Thombrey/

# Statistical Thinking in Python (Part 1)

0
Beta

## .mfe-app-workspace-kj242g{position:absolute;top:-8px;}.mfe-app-workspace-11ezf91{display:inline-block;}.mfe-app-workspace-11ezf91:hover .Anchor__copyLink{visibility:visible;}Statistical Thinking in Python (Part 1)

Run the hidden code cell below to import the data used in this course.

### Take Notes

Add notes about the concepts you've learned and code cells with code you want to keep.

`.mfe-app-workspace-11z5vno{font-family:JetBrainsMonoNL,Menlo,Monaco,'Courier New',monospace;font-size:13px;line-height:20px;}`# Add your code snippets here``
• Pick five states from `all_states` and 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_share` for each state in `swing_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 `Time` column to be numeric.