Je datavisualisaties verbeteren in Python
Nick Strayer
Instructor
Zijn waarden gemiddeld hoger?
Is de spreiding groter? Kleiner?
Cruciaal om je data goed te tonen



pollution_nov = pollution[pollution.month == 10]sns.kdeplot(pollution_nov[pollution_nov.city == 'Denver'].O3, color = 'red') sns.kdeplot(pollution_nov[pollution_nov.city != 'Denver'].O3)

# Rugplot inschakelen
sns.kdeplot(pollution_nov[pollution_nov.city == 'Denver'].O3, color='red')
sns.rugplot(pollution_nov[pollution_nov.city == 'Denver'].O3, color='red')
sns.kdeplot(pollution_nov[pollution_nov.city != 'Denver'].O3)



pollution_nov = pollution[pollution.month == 10]
sns.swarmplot(y="city", x="O3", data=pollution_nov, size=4)
plt.xlabel("Ozone (O3)")

Je datavisualisaties verbeteren in Python