Statistical Thinking in Python (Part 1)
Justin Bois
Teaching Professor at the California Institute of Technology
_ = sns.swarmplot(x='state', y='dem_share', data=df_swing)
_ = plt.xlabel('state')
_ = plt.ylabel('percent of vote for Obama')
plt.show()
Statistical Thinking in Python (Part 1)