CommencerCommencer gratuitement

Pairplot

You'll now further investigate the data using a pairplot.

A pairplot can be a useful tool since it combines histograms with scatter-plots showing the distribution between 2 columns.

You'll work with the water-status data we've seen before.

pandas as pd and matplotlib.pyplot as plt have been imported for you, and the data is available as data.

Cet exercice fait partie du cours

Analyzing IoT Data in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Import required modules
____

# Create a pairplot
____.____(data)

# Show plot
plt.show()
Modifier et exécuter le code