IniziaInizia gratis

barplots, pointplots and countplots

The final group of categorical plots are barplots, pointplots and countplot which create statistical summaries of the data. The plots follow a similar API as the other plots and allow further customization for the specific problem at hand.

Questo esercizio fa parte del corso

Intermediate Data Visualization with Seaborn

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Show a countplot with the number of models used with each region a different color
sns.____(data=df,
         y="____",
         hue="____")

plt.show()
plt.clf()
Modifica ed esegui il codice