EDA on the toy data(penguin data) in Python
import seaborn as sns
import matplotlib.pyplot as plt
penguins = sns.load_dataset(“penguins”)
print(penguins.info())
print(penguins.head(10))

#descriptive statistics
penguins.describe(include=’all’)

#observe the penguin species in one continuous characteristic
print(sns.displot(penguins, x= “flipper_length_mm”,hue= “species”))

#observe the penguin species on two continuous characteristic
sns.FacetGrid(penguins, hue=”species”, size=8) \
.map(plt.scatter, “bill_length_mm”, “bill_depth_mm”) \
.add_legend()

#observe the penguin species on one categorical characteristic
sns.catplot(y=”species”, hue=”sex”, kind=”count”,
palette=”pastel”, edgecolor=”.6", data=penguins)

#observe the penguin species on two categorical chararcteristic
sns.catplot(y=”species”, hue=”sex”, kind=”count”,col = “island”,
palette=”pastel”, edgecolor=”.6",
data=penguins)
