LoslegenKostenlos starten

Bird feature correlations

Continuing your work with the Antarctic Research Scientists, they loved the scatterplot you created for them.

Now they are sure there is a relationship between the attributes of the penguins. But how strong is that relationship and in what direction?

They have reached out again for help. Luckily, you know the plot: a correlation plot!

In this exercise, you will help the scientific team by creating a correlation plot between various penguin attributes in the provided penguins DataFrame.

plotly.express as been loaded as px.

Diese Übung ist Teil des Kurses

<Kurs>Introduction to Data Visualization with Plotly in Python</Kurs>
Kurs ansehen

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Create a correlation table with pandas
penguin_corr = penguins.____(method="____")
Code bearbeiten und ausführen