19mid0034 (Chandru) - ML Lab Fat - Jupyter Notebook
19mid0034 (Chandru) - ML Lab Fat - Jupyter Notebook
CHANDRU
19MID0034
In [106]: data.head()
Out[106]:
sepal length (cm) sepal width (cm) petal length (cm) petal width (cm) species
In [107]: data.info()
<class 'pandas.core.frame.DataFrame'>
In [108]: data.shape
Out[108]: (150, 5)
In [109]: data.columns
Out[109]: Index(['sepal length (cm)', 'sepal width (cm)', 'petal length (cm)',
dtype='object')
[ 0, 9, 0],
[ 0, 1, 17]], dtype=int64)
In [117]: sns.pairplot(data)
In [118]: sns.heatmap(data.corr(),annot=True)
In [ ]: