Exercise: Iris flower dataset

The statistical visualization package seaborn comes with the famous Iris Flower Dataset. Your exercise is to give one-line codes to address the two tasks mentioned after the figure below.

In [1]:
import pandas as pd
%matplotlib inline
import seaborn; seaborn.set()

iris = seaborn.load_dataset('iris')

The following figure is generated by

seaborn.pairplot(iris, hue='species');

Task 1: Make a bar plot of the mean sepal sizes for each species

Task 2: Find the min, max and mean of petal sizes for each species