Learn practical skills, build real-world projects, and advance your career
import pandas as pd

import warnings 
warnings.filterwarnings("ignore")
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(style="white", color_codes=True)

iris = pd.read_csv("./Iris.csv") # the iris dataset is now a Pandas DataFrame


iris.head()
iris.plot(kind="scatter", x="SepalLengthCm", y="SepalWidthCm")
*c* argument looks like a single numeric RGB or RGBA sequence, which should be avoided as value-mapping will have precedence in case its length matches with *x* & *y*. Please use the *color* keyword-argument or provide a 2-D array with a single row if you intend to specify the same RGB or RGBA value for all points.
<AxesSubplot:xlabel='SepalLengthCm', ylabel='SepalWidthCm'>
Notebook Image
sns.jointplot(x="SepalLengthCm", y="SepalWidthCm", data=iris, size=5)
<seaborn.axisgrid.JointGrid at 0x102fe220>
Notebook Image
sns.FacetGrid(iris, hue="Species", size=5) \
   .map(plt.scatter, "SepalLengthCm", "SepalWidthCm") \
   .add_legend()
<seaborn.axisgrid.FacetGrid at 0x10a71490>
Notebook Image
sns.boxplot(x="Species", y="PetalLengthCm", data=iris)
<AxesSubplot:xlabel='Species', ylabel='PetalLengthCm'>
Notebook Image