10 TH
10 TH
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
In [4]: data.head()
Out[6]: species
count 150
unique 3
top setosa
freq 50
In [7]: data.isnull().sum()
Out[7]: sepal_length 0
sepal_width 0
petal_length 0
petal_width 0
species 0
dtype: int64
/usr/local/lib/python3.7/dist-packages/seaborn/_decorators.py:43: FutureWarn
ing: Pass the following variable as a keyword arg: x. From version 0.12, the
only valid positional argument will be `data`, and passing other arguments w
ithout an explicit keyword will result in an error or misinterpretation.
FutureWarning
In [14]: sns.boxplot(data['sepal_width'])
/usr/local/lib/python3.7/dist-packages/seaborn/_decorators.py:43: FutureWarn
ing: Pass the following variable as a keyword arg: x. From version 0.12, the
only valid positional argument will be `data`, and passing other arguments w
ithout an explicit keyword will result in an error or misinterpretation.
FutureWarning
/usr/local/lib/python3.7/dist-packages/seaborn/_decorators.py:43: FutureWarn
ing: Pass the following variable as a keyword arg: x. From version 0.12, the
only valid positional argument will be `data`, and passing other arguments w
ithout an explicit keyword will result in an error or misinterpretation.
FutureWarning
In [16]: sns.boxplot(data['petal_width'])
/usr/local/lib/python3.7/dist-packages/seaborn/_decorators.py:43: FutureWarn
ing: Pass the following variable as a keyword arg: x. From version 0.12, the
only valid positional argument will be `data`, and passing other arguments w
ithout an explicit keyword will result in an error or misinterpretation.
FutureWarning
In [18]: sns.boxplot(x='petal_length',y='species',data=data)