CommencerCommencer gratuitement

Pearson correlation

You know how to identify different relationships based on scatter plots, but let's take a more practical approach now and dive a bit deeper into one relationship. We'll stick to the same version of the weather dataset that we just used.

You'll analyze a seaborn pair plot of some features before drilling down for further analysis and coming to a conclusion about the correlation. This process should be something that you feel quite comfortable with.

Cet exercice fait partie du cours

Practicing Statistics Interview Questions in Python

Afficher le cours

Exercice interactif pratique

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

# Generate the pair plot for the weather dataset
sns.pairplot(____)
plt.show()
Modifier et exécuter le code