image_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import numpy as np # linear algebra

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

df = pd.read_csv('../input/ex-1-dataset-iris/iris.csv')
df.shape

df.loc[df['variety'] == 'Setosa']
df_Setosa = df.loc[df['variety'] == 'Setosa']
df_Virginica = df.loc[df['variety'] == 'Virginica']
df_Versicolor = df.loc[df['variety'] == 'Versicolor']

sns.FacetGrid(df, hue='variety', height=5).map(plt.scatter, 'sepal.width', 'petal.width').add_legend()
plt.show()