{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "b0158404",
"metadata": {},
"outputs": [],
"source": [
"Name :\n",
"\n",
"Assignment : Seaborn Vizualistion "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "021042d8",
"metadata": {},
"outputs": [],
"source": [
"-----------------------------------------------------------------------------------------------------"
]
},
{
"cell_type": "code",
"execution_count": 35,
"id": "12ce1618",
"metadata": {},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"plt.style.use('classic')\n",
"%matplotlib inline\n",
"\n",
"import seaborn as sns\n",
"sns.set()\n",
"\n",
"import numpy as np\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 36,
"id": "c935df81",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
\n",
"\n",
"
\n",
"\n",
"\n",
" | \n",
"sepal_length | \n",
"sepal_width | \n",
"petal_length | \n",
"petal_width | \n",
"species | \n",
"
\n",
"\n",
"\n",
"\n",
"0 | \n",
"5.1 | \n",
"3.5 | \n",
"1.4 | \n",
"0.2 | \n",
"setosa | \n",
"
\n",
"\n",
"1 | \n",
"4.9 | \n",
"3.0 | \n",
"1.4 | \n",
"0.2 | \n",
"setosa | \n",
"
\n",
"\n",
"2 | \n",
"4.7 | \n",
"3.2 | \n",
"1.3 | \n",
"0.2 | \n",
"setosa | \n",
"
\n",
"\n",
"3 | \n",
"4.6 | \n",
"3.1 | \n",
"1.5 | \n",
"0.2 | \n",
"setosa | \n",
"
\n",
"\n",
"4 | \n",
"5.0 | \n",
"3.6 | \n",
"1.4 | \n",
"0.2 | \n",
"setosa | \n",
"
\n",
"\n",
"
\n",
"
"
],
"text/plain": [
" sepal_length sepal_width petal_length petal_width species\n",
"0 5.1 3.5 1.4 0.2 setosa\n",
"1 4.9 3.0 1.4 0.2 setosa\n",
"2 4.7 3.2 1.3 0.2 setosa\n",
"3 4.6 3.1 1.5 0.2 setosa\n",
"4 5.0 3.6 1.4 0.2 setosa"
]
},
"execution_count": 36,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Iis Dataset\n",
"\n",
"iris = sns.load_dataset(\"iris\")\n",
"iris.head()"
]
},
{
"cell_type": "code",
"execution_count": 37,
"id": "bb916975",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"
"
]
},
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png":...