Skip to article frontmatterSkip to article content
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

pandas visu

iris = sns.load_dataset("iris")

Explore the dataset with info() and head()

# your code

Is there a correlation between any two metrics per species?

(hint: pairplot)

# your code

Is there a correlation between sepal_length and petal_length

(hint: relplot, lmplot)

# your code

What is the distribution of the sepal_width

(hint: displot, catplot)

# your code