import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sb
from pylab import rcParams
%matplotlib inline
rcParams['figure.figsize'] = 5,4
sb.set_style('whitegrid')
fname = 'c:/py_data/iris.data.csv'
df = pd.read_csv(filepath_or_buffer=fname, header=None, sep=",")
df.columns=['Sepal Length', 'Sepal Height', 'Petal Length', 'Petal Height', 'Species']
data = df.iloc[:,0:4].values
target = df.iloc[:,4].values
df[:5]
sb.boxplot(x='Species', y='Sepal Length', data=df, palette='hls')
<AxesSubplot:xlabel='Species', ylabel='Sepal Length'>
sb.pairplot(df, hue='Species', palette='hls')
<seaborn.axisgrid.PairGrid at 0x2b975e52520>
import os
os.system('jupyter nbconvert --to html 9_multi')