MLstuff/ISLR/.ipynb_checkpoints/ch2-8-checkpoint.ipynb

843 lines
262 KiB
Plaintext
Raw Permalink Normal View History

2020-08-01 22:25:45 +00:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"from matplotlib import pyplot as plt\n",
"import seaborn as sns\n",
"sns.set(style=\"whitegrid\")\n",
"tips = sns.load_dataset(\"tips\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Index(['Private', 'Apps', 'Accept', 'Enroll', 'Top10perc', 'Top25perc',\n",
" 'F.Undergrad', 'P.Undergrad', 'Outstate', 'Room.Board', 'Books',\n",
" 'Personal', 'PhD', 'Terminal', 'S.F.Ratio', 'perc.alumni', 'Expend',\n",
" 'Grad.Rate'],\n",
" dtype='object')"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"college = pd.read_csv(\"./../datasets/College.csv\")\n",
"college.set_index(\"Unnamed: 0\", inplace=True)\n",
"college.columns"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Apps</th>\n",
" <th>Accept</th>\n",
" <th>Enroll</th>\n",
" <th>Top10perc</th>\n",
" <th>Top25perc</th>\n",
" <th>F.Undergrad</th>\n",
" <th>P.Undergrad</th>\n",
" <th>Outstate</th>\n",
" <th>Room.Board</th>\n",
" <th>Books</th>\n",
" <th>Personal</th>\n",
" <th>PhD</th>\n",
" <th>Terminal</th>\n",
" <th>S.F.Ratio</th>\n",
" <th>perc.alumni</th>\n",
" <th>Expend</th>\n",
" <th>Grad.Rate</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>count</th>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.000000</td>\n",
" <td>777.00000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>mean</th>\n",
" <td>3001.638353</td>\n",
" <td>2018.804376</td>\n",
" <td>779.972973</td>\n",
" <td>27.558559</td>\n",
" <td>55.796654</td>\n",
" <td>3699.907336</td>\n",
" <td>855.298584</td>\n",
" <td>10440.669241</td>\n",
" <td>4357.526384</td>\n",
" <td>549.380952</td>\n",
" <td>1340.642214</td>\n",
" <td>72.660232</td>\n",
" <td>79.702703</td>\n",
" <td>14.089704</td>\n",
" <td>22.743887</td>\n",
" <td>9660.171171</td>\n",
" <td>65.46332</td>\n",
" </tr>\n",
" <tr>\n",
" <th>std</th>\n",
" <td>3870.201484</td>\n",
" <td>2451.113971</td>\n",
" <td>929.176190</td>\n",
" <td>17.640364</td>\n",
" <td>19.804778</td>\n",
" <td>4850.420531</td>\n",
" <td>1522.431887</td>\n",
" <td>4023.016484</td>\n",
" <td>1096.696416</td>\n",
" <td>165.105360</td>\n",
" <td>677.071454</td>\n",
" <td>16.328155</td>\n",
" <td>14.722359</td>\n",
" <td>3.958349</td>\n",
" <td>12.391801</td>\n",
" <td>5221.768440</td>\n",
" <td>17.17771</td>\n",
" </tr>\n",
" <tr>\n",
" <th>min</th>\n",
" <td>81.000000</td>\n",
" <td>72.000000</td>\n",
" <td>35.000000</td>\n",
" <td>1.000000</td>\n",
" <td>9.000000</td>\n",
" <td>139.000000</td>\n",
" <td>1.000000</td>\n",
" <td>2340.000000</td>\n",
" <td>1780.000000</td>\n",
" <td>96.000000</td>\n",
" <td>250.000000</td>\n",
" <td>8.000000</td>\n",
" <td>24.000000</td>\n",
" <td>2.500000</td>\n",
" <td>0.000000</td>\n",
" <td>3186.000000</td>\n",
" <td>10.00000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25%</th>\n",
" <td>776.000000</td>\n",
" <td>604.000000</td>\n",
" <td>242.000000</td>\n",
" <td>15.000000</td>\n",
" <td>41.000000</td>\n",
" <td>992.000000</td>\n",
" <td>95.000000</td>\n",
" <td>7320.000000</td>\n",
" <td>3597.000000</td>\n",
" <td>470.000000</td>\n",
" <td>850.000000</td>\n",
" <td>62.000000</td>\n",
" <td>71.000000</td>\n",
" <td>11.500000</td>\n",
" <td>13.000000</td>\n",
" <td>6751.000000</td>\n",
" <td>53.00000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50%</th>\n",
" <td>1558.000000</td>\n",
" <td>1110.000000</td>\n",
" <td>434.000000</td>\n",
" <td>23.000000</td>\n",
" <td>54.000000</td>\n",
" <td>1707.000000</td>\n",
" <td>353.000000</td>\n",
" <td>9990.000000</td>\n",
" <td>4200.000000</td>\n",
" <td>500.000000</td>\n",
" <td>1200.000000</td>\n",
" <td>75.000000</td>\n",
" <td>82.000000</td>\n",
" <td>13.600000</td>\n",
" <td>21.000000</td>\n",
" <td>8377.000000</td>\n",
" <td>65.00000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>75%</th>\n",
" <td>3624.000000</td>\n",
" <td>2424.000000</td>\n",
" <td>902.000000</td>\n",
" <td>35.000000</td>\n",
" <td>69.000000</td>\n",
" <td>4005.000000</td>\n",
" <td>967.000000</td>\n",
" <td>12925.000000</td>\n",
" <td>5050.000000</td>\n",
" <td>600.000000</td>\n",
" <td>1700.000000</td>\n",
" <td>85.000000</td>\n",
" <td>92.000000</td>\n",
" <td>16.500000</td>\n",
" <td>31.000000</td>\n",
" <td>10830.000000</td>\n",
" <td>78.00000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>max</th>\n",
" <td>48094.000000</td>\n",
" <td>26330.000000</td>\n",
" <td>6392.000000</td>\n",
" <td>96.000000</td>\n",
" <td>100.000000</td>\n",
" <td>31643.000000</td>\n",
" <td>21836.000000</td>\n",
" <td>21700.000000</td>\n",
" <td>8124.000000</td>\n",
" <td>2340.000000</td>\n",
" <td>6800.000000</td>\n",
" <td>103.000000</td>\n",
" <td>100.000000</td>\n",
" <td>39.800000</td>\n",
" <td>64.000000</td>\n",
" <td>56233.000000</td>\n",
" <td>118.00000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Apps Accept Enroll Top10perc Top25perc \\\n",
"count 777.000000 777.000000 777.000000 777.000000 777.000000 \n",
"mean 3001.638353 2018.804376 779.972973 27.558559 55.796654 \n",
"std 3870.201484 2451.113971 929.176190 17.640364 19.804778 \n",
"min 81.000000 72.000000 35.000000 1.000000 9.000000 \n",
"25% 776.000000 604.000000 242.000000 15.000000 41.000000 \n",
"50% 1558.000000 1110.000000 434.000000 23.000000 54.000000 \n",
"75% 3624.000000 2424.000000 902.000000 35.000000 69.000000 \n",
"max 48094.000000 26330.000000 6392.000000 96.000000 100.000000 \n",
"\n",
" F.Undergrad P.Undergrad Outstate Room.Board Books \\\n",
"count 777.000000 777.000000 777.000000 777.000000 777.000000 \n",
"mean 3699.907336 855.298584 10440.669241 4357.526384 549.380952 \n",
"std 4850.420531 1522.431887 4023.016484 1096.696416 165.105360 \n",
"min 139.000000 1.000000 2340.000000 1780.000000 96.000000 \n",
"25% 992.000000 95.000000 7320.000000 3597.000000 470.000000 \n",
"50% 1707.000000 353.000000 9990.000000 4200.000000 500.000000 \n",
"75% 4005.000000 967.000000 12925.000000 5050.000000 600.000000 \n",
"max 31643.000000 21836.000000 21700.000000 8124.000000 2340.000000 \n",
"\n",
" Personal PhD Terminal S.F.Ratio perc.alumni \\\n",
"count 777.000000 777.000000 777.000000 777.000000 777.000000 \n",
"mean 1340.642214 72.660232 79.702703 14.089704 22.743887 \n",
"std 677.071454 16.328155 14.722359 3.958349 12.391801 \n",
"min 250.000000 8.000000 24.000000 2.500000 0.000000 \n",
"25% 850.000000 62.000000 71.000000 11.500000 13.000000 \n",
"50% 1200.000000 75.000000 82.000000 13.600000 21.000000 \n",
"75% 1700.000000 85.000000 92.000000 16.500000 31.000000 \n",
"max 6800.000000 103.000000 100.000000 39.800000 64.000000 \n",
"\n",
" Expend Grad.Rate \n",
"count 777.000000 777.00000 \n",
"mean 9660.171171 65.46332 \n",
"std 5221.768440 17.17771 \n",
"min 3186.000000 10.00000 \n",
"25% 6751.000000 53.00000 \n",
"50% 8377.000000 65.00000 \n",
"75% 10830.000000 78.00000 \n",
"max 56233.000000 118.00000 "
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"college.describe()"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Private</th>\n",
" <th>Apps</th>\n",
" <th>Accept</th>\n",
" <th>Enroll</th>\n",
" <th>Top10perc</th>\n",
" <th>Top25perc</th>\n",
" <th>F.Undergrad</th>\n",
" <th>P.Undergrad</th>\n",
" <th>Outstate</th>\n",
" <th>Room.Board</th>\n",
" <th>Books</th>\n",
" <th>Personal</th>\n",
" <th>PhD</th>\n",
" <th>Terminal</th>\n",
" <th>S.F.Ratio</th>\n",
" <th>perc.alumni</th>\n",
" <th>Expend</th>\n",
" <th>Grad.Rate</th>\n",
" </tr>\n",
" <tr>\n",
" <th>Unnamed: 0</th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>Abilene Christian University</th>\n",
" <td>Yes</td>\n",
" <td>1660</td>\n",
" <td>1232</td>\n",
" <td>721</td>\n",
" <td>23</td>\n",
" <td>52</td>\n",
" <td>2885</td>\n",
" <td>537</td>\n",
" <td>7440</td>\n",
" <td>3300</td>\n",
" <td>450</td>\n",
" <td>2200</td>\n",
" <td>70</td>\n",
" <td>78</td>\n",
" <td>18.1</td>\n",
" <td>12</td>\n",
" <td>7041</td>\n",
" <td>60</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Adelphi University</th>\n",
" <td>Yes</td>\n",
" <td>2186</td>\n",
" <td>1924</td>\n",
" <td>512</td>\n",
" <td>16</td>\n",
" <td>29</td>\n",
" <td>2683</td>\n",
" <td>1227</td>\n",
" <td>12280</td>\n",
" <td>6450</td>\n",
" <td>750</td>\n",
" <td>1500</td>\n",
" <td>29</td>\n",
" <td>30</td>\n",
" <td>12.2</td>\n",
" <td>16</td>\n",
" <td>10527</td>\n",
" <td>56</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Adrian College</th>\n",
" <td>Yes</td>\n",
" <td>1428</td>\n",
" <td>1097</td>\n",
" <td>336</td>\n",
" <td>22</td>\n",
" <td>50</td>\n",
" <td>1036</td>\n",
" <td>99</td>\n",
" <td>11250</td>\n",
" <td>3750</td>\n",
" <td>400</td>\n",
" <td>1165</td>\n",
" <td>53</td>\n",
" <td>66</td>\n",
" <td>12.9</td>\n",
" <td>30</td>\n",
" <td>8735</td>\n",
" <td>54</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Agnes Scott College</th>\n",
" <td>Yes</td>\n",
" <td>417</td>\n",
" <td>349</td>\n",
" <td>137</td>\n",
" <td>60</td>\n",
" <td>89</td>\n",
" <td>510</td>\n",
" <td>63</td>\n",
" <td>12960</td>\n",
" <td>5450</td>\n",
" <td>450</td>\n",
" <td>875</td>\n",
" <td>92</td>\n",
" <td>97</td>\n",
" <td>7.7</td>\n",
" <td>37</td>\n",
" <td>19016</td>\n",
" <td>59</td>\n",
" </tr>\n",
" <tr>\n",
" <th>Alaska Pacific University</th>\n",
" <td>Yes</td>\n",
" <td>193</td>\n",
" <td>146</td>\n",
" <td>55</td>\n",
" <td>16</td>\n",
" <td>44</td>\n",
" <td>249</td>\n",
" <td>869</td>\n",
" <td>7560</td>\n",
" <td>4120</td>\n",
" <td>800</td>\n",
" <td>1500</td>\n",
" <td>76</td>\n",
" <td>72</td>\n",
" <td>11.9</td>\n",
" <td>2</td>\n",
" <td>10922</td>\n",
" <td>15</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Private Apps Accept Enroll Top10perc \\\n",
"Unnamed: 0 \n",
"Abilene Christian University Yes 1660 1232 721 23 \n",
"Adelphi University Yes 2186 1924 512 16 \n",
"Adrian College Yes 1428 1097 336 22 \n",
"Agnes Scott College Yes 417 349 137 60 \n",
"Alaska Pacific University Yes 193 146 55 16 \n",
"\n",
" Top25perc F.Undergrad P.Undergrad Outstate \\\n",
"Unnamed: 0 \n",
"Abilene Christian University 52 2885 537 7440 \n",
"Adelphi University 29 2683 1227 12280 \n",
"Adrian College 50 1036 99 11250 \n",
"Agnes Scott College 89 510 63 12960 \n",
"Alaska Pacific University 44 249 869 7560 \n",
"\n",
" Room.Board Books Personal PhD Terminal \\\n",
"Unnamed: 0 \n",
"Abilene Christian University 3300 450 2200 70 78 \n",
"Adelphi University 6450 750 1500 29 30 \n",
"Adrian College 3750 400 1165 53 66 \n",
"Agnes Scott College 5450 450 875 92 97 \n",
"Alaska Pacific University 4120 800 1500 76 72 \n",
"\n",
" S.F.Ratio perc.alumni Expend Grad.Rate \n",
"Unnamed: 0 \n",
"Abilene Christian University 18.1 12 7041 60 \n",
"Adelphi University 12.2 16 10527 56 \n",
"Adrian College 12.9 30 8735 54 \n",
"Agnes Scott College 7.7 37 19016 59 \n",
"Alaska Pacific University 11.9 2 10922 15 "
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"college.head()"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZoAAAEMCAYAAAD9OXA9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3dd3RUdf7/8eedPimkAWk0pQYiCIQmJEikLVVEBXEVFV30p36/a13ZrwusXWR1dWF10bUXBFyqQlBC7yjFiFQBIQmBVJJJZjLl/v6IZEVBEpibm8y8H+d4TubezL3vBHNfcz/3UxRVVVWEEEIIjRj0LkAIIURgk6ARQgihKQkaIYQQmpKgEUIIoSkJGiGEEJoy6V1AfePz+XA4HJjNZhRF0bscIYRoEFRVxe12ExoaisFw7j2MBM0vOBwODhw4oHcZQgjRILVr147w8PBztknQ/ILZbAaqflkWi0XnaoQQomGorKzkwIED1dfQn5Og+YWzzWUWiwWr1apzNUII0bCc75GDdAYQQgihKQkaIYQQmpKgEUIIoSkJGiGEEJqSoBFCCKEpCRohhBCakqARmtq2bRuHDh3SuwwhhI5kHI3Q1NNPP43dbmfevHl6lyKE0Inc0QjNVVRU6F2CEEJHEjRCCCE0JUEjhBBCUxI0QgghNCVBI4QQQlMSNEIIITQlQSM0o6qq3iUIIeoBCR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MRjPGkKZ1dk5TeCKqqrJx48Y6O6cIDhZL1cStHl9V0ri9KlabxgORg1y9eEbz6KOPMnLkSKZPn149cWNubi4JCQnV3xMdHY3
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.violinplot(x=\"Private\", y=\"Outstate\", data=college)"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZoAAAEOCAYAAACw8dE2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3de3SU1b3/8XcGmCAkOiQiTIAjByucYMrFDMUeT7iEcIKWAApISgWKwKEUOAoLhCgmNsBJExCPnEZRq9hWJMvGQhoLRDCgXautkii6plgQuQgmIOZCczG3mfn9EfP8jFwyXJ55QvJ5rcVazN7PzHwnhPnMfp49ewf5fD4fIiIiJrFZXYCIiLRtChoRETGVgkZEREyloBEREVMpaERExFQKGhERMVXHQDxJWVkZjz76KJ9//jl2u51bb72V1NRUzp07R3JyMmfPnqVjx458//vfJyUlhc6dO3Pq1Cn+8z//k9tvv914nFdeeYVu3boB8Prrr/Piiy/i8/kYMWIEq1atwmaztdgnIiKBFRSI79GUl5dz6NAhhg8fDkB6ejrnzp3j5z//Of/85z8ZOHAgXq+XpUuXcvvtt7Nw4UJOnTrF5MmTee+99857vJMnT/KTn/yE7du343A4mDdvHgkJCUyaNOmSff7wer1UVVXRqVMngoKCrunPQUSkrfL5fNTX19O1a9fzPtgHZETjcDiMkAEYMmQIW7dupXfv3kabzWZj0KBBfPbZZy0+Xl5eHnFxcYSFhQEwdepU/vCHPzBp0qRL9vmjqqqKw4cPX87LExGRb/Tv35/Q0NBmbQEJmm/zer1s3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CEDMGTIEIqKinC73QQHB+NyuYDGtbF27doFYEqfBFZpaakxchWR9ivga515vV62bt1KbGwsxcXFREREGH1hYWF4vV7Ky8tN6bucT9Zut/sqX6m1brrpJqZMmWJpDZs3bwawvI4mhYWFVpcg0i4FPGhWr15Nly5dePDBBy0/tXMp1/ups9YgOzsbgOjoaIsrERGzNZ06u5CABk16ejonTpxg06ZN2Gw2nE4nRUVFRn9paSk2mw2Hw2FKn4iIBF7Apjdv2LABt9tNZmYmdrsdaBw11NTUUFBQAEBWVhbjxo0zrU9ERAIvICOaTz/9lOeff56+ffsam2D17t2bzMxMMjIySElJoba2ll69erFu3Tqgcfvfa90nIiKBF5DpzdeTtjK9uTVISkoC8HtquYhcvyyf3iwiIu2XgkZEREyloBEREVMpaERExFQKGhERMZWCRkRETKWgERERUyloRETEVAoaERExlYJGRERMpaARERFTKWhERMRUChoRETGVgkZEREyloBEREVMpaERExFQB2WETID09nby8PL744gtyc3Pp378/p06dYuHChcYxFRUVVFZW8v777wMQGxuL3W43NtFZtmwZMTExABw4cIDk5ORmu2iGh4e32CciIoEVsBHNmDFj2LJlC7169TLaevfuTU5OjvFnzJgxjB8/vtn9Nm7caPQ3hYzX62X58uUkJyeTl5eHy+Vi/fr1LfaJiEjgBSxoXC4XTqfzov11dXXk5uYyefLkFh/L7XYTHByMy+UCIDExkV27drXYJyIigRewU2ctyc/Pp0ePHtxxxx3N2pctW4bP5yM6OpqlS5dy4403UlxcTEREhHFMWFgYXq+X8vLyS/Y5HI6AvR4REWnUaoLmjTfeOG80s2XLFpxOJ3V1daxdu5bU1NSAnQZzu90BeZ62rKKiAoDCwkKLKxERK7WKoDlz5gz79+8nIyOjWXvTqTa73c706dNZsGCB0V5UVGQcV1pais1mw+FwXLLvckRFRRmTEOTKZGdnAxAdHW1xJSJittra2ot+QG8V05u3bdvGyJEj6datm9FWXV1tfCL2+Xzs2LGDyMhIoDEEampqKCgoACArK4tx48a12CciIoEXsBHNmjVreOutt/jqq6+YPXs2DoeDP/3pT0Bj0Dz++OPNji8pKWHx4sV4PB68Xi+33XYbKSkpANhsNjIyMkhJSWk2hbmlPhERCbwgn8/ns7qI1qRp+KdTZ1cvKSkJgLS0NIsrERGzXeq9s1WcOhMRkbZLQSMiIqZS0IiIiKkUNCIiYioFjYiImEpBIyIiplLQiIiIqRQ0IiJiKgWNiIiYSkEjIu1SaWkpK1eupKyszOpS2jwFjYi0S1lZWRw8eJCsrCyrS2nzFDQi0u6UlpayZ88efD4fu3fv1qjGZAoaEWl3srKyaGhoAKChoUGjGpMpaESk3dm7dy9NC9f7fD7y8/MtrqhtU9CISLvTvXv3ZrdvueUWiyppHxQ0ItLunD179pK35dpS0IhIuzN69GiCgoIACAoKYvTo0RZX1LYFLGjS09OJjY1lwIABHD582GiPjY1l3LhxTJw4kYkTJ/LnP//Z6Dtw4AATJkwgPj6ehx56iJKSkqvuExFJTEykY8fGnew7duxIYmKixRW1bQELmjFjxrBlyxZ69ep1Xt/GjRvJyckhJyeHmJgYALxeL8uXLyc5OZm8vDxcLhfr16+/qj4REYCwsDDi4uIICgpi7NixdOvWzeqS2rSABY3L5cLpdPp9vNvtJjg4GJfLBTR+Atm1a9dV9YmINElMTGTgwIEazQRAR6sLAFi2bBk+n4/o6GiWLl3KjTfeSHFxMREREcYxYWFheL1eysvLr7jP4XD4XZPb7b42L64dq6ioAKCwsNDiSkQubOrUqRw9etTqMto8y4Nmy5YtOJ1O6urqWLt2Lampqa3iVFdUVBTBwcFWl3Fdy87OBiA6OtriSkTEbLW1tRf9gG75rLOm02l2u53p06fzwQcfGO1FRUXGcaWlpdhsNhwOxxX3iYhI4FkaNNXV1cbpFZ/Px44dO4iMjAQaRxQ1NTUUFBQAjUtGjBs37qr6RESaaPXmwAnYqbM1a9bw1ltv8dVXXzF79mwcDgebNm1i8eLFeDw
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.boxplot(x=\"Private\", y=\"Outstate\", data=college)"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"sep =pd.cut(college.Top10perc, pd.interval_range(start=0, end=100, periods=2), labels=[\"Not elite\", \"Elite\"])\n",
"college[\"Elite\"] = sep "
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZoAAAEMCAYAAAD9OXA9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nOzdd3hUZfr/8ff0SSW9EUroHREEERGkSBEJZRVEv6646OpPcS2ouKuCLEoVBWzrslZwdUVWBJEiiiDSe5GmEAgJIb1On/P7I5IVpCRhZs5k5n5dF9c1Myc55xNyMvc85zxFoyiKghBCCOElWrUDCCGECGxSaIQQQniVFBohhBBeJYVGCCGEV0mhEUII4VV6tQP4G7fbTXl5OQaDAY1Go3YcIYSoExRFweFwEBYWhlZ7fhtGCs0FysvLOXLkiNoxhBCiTmrRogURERHnvSaF5gIGgwGo/M8yGo0qpxFCiLrBbrdz5MiRqvfQ35JCc4Fzl8uMRiMmk0nlNEIIUbdc7JaDdAYQQgjhVVJohBBCeJUUGiGEEF4lhUYIIYRXSaERQgjhVVJohBBCeJUUGuFVW7Zs4ejRo2rHEEKoSMbRCK+aOnUqJpOJxYsXqx1FCAAcDgcrVqzAZrNVvda8eXM6deqkYqrAJoVGeN1v/6CFUNv69etZsGDBea+FhJhZuHCRzAbiJVJohBBBZcOG9USZ9TzSOQaAX4rsfHygiJ07d3L99dernC4wyT0aIUTQyMnJYefOXbSLN6LXatBrNTSNMhJu0rFq5Uq14wUsKTRCiKCxfPlyNMB1yaFVr+m0Gjonmtm+YweZmZnqhQtgUmiEEEEhPz+fFV99Rds4E/VMuvO2X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2Dbfb7fFt1WGz2di/fz/t2rXDZPL+lBaBZvPmzbz00kuYU2/EEJF63jbb2b04Cn5iwYIFJCQkqJRQ+Irdbmf9+vV8uXQpx0+cIMSgo3OSieuSQ6ln0qkdz68oisIvRXa2ZFk4UmBDp9PRs2dP0tPT60wHmsu9d/rkbltUVFRVkQG45ppryMrKYv/+/ZhMJrp06QLA6NGjWblyJYBXtgnv+/rrr9EZQtGHp/xumyG6KYqisHr1ahWSCV8pLCzk448/5r6xY5k7dy7luae5rVkEj18XS7/GEX5TZHbnWNid4x/rJGk0GppGmxjTNorxXWLpnGjkxx/W8/jjj/PM00+zceNGXC6X2jFrzef3aNxuN//+97/p06cP2dnZpKT87w0pJiYGt9tNUVGRV7ZFRUX55ocMUtnZ2ezctQtjbBs0mt9/htEawtCHp/D1ypWMGjUKgyE4L5sEql9++YUvvviC9evX43K5aBFjIr1dFGlRRr+80b3r1yJzTWKIyknOFxuiZ3DTSPo0crMrx8KWE0eZPn06cXGx3HbbUAYMGFDnBoD6vND8/e9/JzQ0lLvvvps1a9b4+vDVtn//frUj1DmrVq0CwBB16aa+IboZJafWs2jRItq3b++raMJL3G43x44dY9OPP3L8xAkMOi2dE0x0TQklLlT6Gl0Ns15L9/qVY4kO59vYnFXKe++9x6KFC7m2c2e6detWZ+7j+PRMmDFjBhkZGbz99ttotVqSk5PJysqq2l5QUIBWqyUqKsor22pC7tHUjN1uZ9as2ejDU9EaKj8hOoqOA2CISqv6Ol1YMjpTOIcOHeLee+9VI6rwAIfDwbp16/j888WcPp1F5K/jXzonhRBiqPvjX/yJVqOhdZyZ1nFmskodbDpdwdYtW9iyZQs9etzAyJF/8Iv7OOfu0VyMzwrNnDlz2L9/P++8805V97127dphtVrZvn07Xbp04ZNPPmHgwIFe2ya
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.violinplot(x=\"Elite\", y=\"Outstate\", data=college)"
]
},
{
"cell_type": "code",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ppZfYu3cvKSkp/PCHP+Smm24aV+cbGhrGVd9srlYXx5tP+G1zJHr4pKkrTC0yV319fbibEFRTvX8w9fuo/pkr4teUX7RoEYsWLaKlpYXVq1fzta99jXnz5nH//ffz/e9/n+joaPbt28eqVauora1l1qxZAT93bm4usbGxQWz9pdXX1+NIdzDnjM1vuyM9lVT7/LC0yUz19fXk5+eHuxlBM9X7B1O/j+rf+PX19Y36RXzMKS+Hw0FbWxsejwcYOoje3t6Ow+EYUa+lpcX32OVykZ6ePqmyz8vIyCAvL4/XXnsNgJSUFKKjowG44447cDgcfPjhh2N1R0REgmTMQElOTiYnJ4eamhoAampqyMnJ8ZvuAiguLmbLli14vV7cbje7du2iqKhoUmVHjx71Pb/b7ebNN9/kmmuuAaCtrc1XdujQIU6ePMlVV101mfdCREQmIaAprw0bNlBZWcmmTZtISEigqqoKgBUrVrBmzRry8vJwOp0cOHCAJUuWALB69WqysrIAJlz2wgsvsG/fPqKiojAMg+XLl/PVr34VgKeeeor3338fq9VKdHQ0Tz75JCkpKWa9LyIiMk4BBcr8+fPZsmXLiO2bN2/2/Wyz2di4ceNF959o2c9//vNLtmk41EREJDLoSnkRETGFAkVEREyhQBEREVMoUERExBQKFBERMYUCRURETKFAERERUyhQRETEFAoUERExhQJFRERMoUARERFTKFBERMQUChQRETGFAkVEREyhQBEREVMoUERExBQKFBERMYUCRURETBFQoDQ1NVFeXk5RURHl5eUcO3ZsRB2Px8PGjRspLCxk8eLFfksGT7Rs69atLF26FKfTydKlS6murg5oPxERCb2A1pRfv349FRUVOJ1Otm/fzrp16/z+uAPs2LGD5uZmdu7cSVdXF6WlpRQUFJCZmTnhsqKiIpYtW4bFYqGnp4elS5dy2223ce211466n4iIhN6YI5SOjg4aGxspKSkBoKSkhMbGRtxut1+92tpaysrKsFqt2O12CgsLqaurm1RZfHw8FosFgN7eXgYGBnyPR9tPRERCb8wRisvlIi0tDZvNBoDNZiM1NRWXy4Xdbverl5GR4XvscDhobW2dVBnAq6++ylNPPUVzczM/+clPyM7ODmi/QDQ0NIyrvtlcrS6ON5/w2+ZI9PBJU1eYWmSu+vr6cDchqKZ6/2Dq91H9M1dAU17htGjRIhYtWkRLSwurV6/ma1/7GvPmzTPluXNzc4mNjTXlucarvr4eR7qDOWdsftsd6amk2ueHpU1mqq+vJz8/P9zNCJqp3j+Y+n1U/8avr69v1C/iY055ORwO2tra8Hg8wNDB8Pb2dhwOx4h6LS0tvscul4v09PRJlX1eRkYGeXl5vPbaa+PaT0REQmPMQElOTiYnJ4eamhoAampqyMnJ8ZvuAiguLmbLli14vV7cbje7du2iqKhoUmVHjx71Pb/b7ebNN9/kmmuuGXM/EREJvYCmvDZs2EBlZSWbNm0iISGBqqoqAFasWMGaNWvIy8vD6XRy4MABlixZAsDq1avJysoCmHDZCy+8wL59+4iKisIwDJYvX85Xv/rVMfcTEZHQCyhQ5s+ff9HrPDZv3uz72WazsXHjxovuP9Gyn//855ds02j7iYhI6OlKeRERMYUCRURETKFAERERUyhQRETEFAoUERExhQJFRERMoUARERFTKFBERMQUChQRETGFAkVEREyhQBEREVMoUERExBQKFBERMYUCRURETKFAERERUyhQRETEFAoUERExRUArNjY1NVFZWUlXVxdJSUlUVVUxd+5cvzoej4fHH3+cPXv2YLFYWLlyJWVlZZMqe/bZZ6mtrcVqtRIdHc3atWtZuHAhAJWVlfzpT39i1qxZwNAa83/7t39rypsiIiL
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Index(['Private', 'Apps', 'Accept', 'Enroll', 'Top10perc', 'Top25perc',\n",
"# 'F.Undergrad', 'P.Undergrad', 'Outstate', 'Room.Board', 'Books',\n",
"# 'Personal', 'PhD', 'Terminal', 'S.F.Ratio', 'perc.alumni', 'Expend',\n",
"# 'Grad.Rate'],\n",
"# dtype='object')\n",
"ax = sns.distplot(college.Apps)\n"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7ff45d0085e0>"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEMCAYAAAA4S+qsAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3df3hU9Z33/+eck5nJb2ACCRMTQKLiaIC60B9Y6W0xkKihAe5iulQvW2/x6ndZubZ+2++F3TYha9mW7fd2t7VweZXvXSu33m2X6orEbMqyrAVaUYkKpBFQSQyYSUIyhPwgmR/nnO8fQwbG/DokmZnM9P24rpSZfD5n8nnP2LzyOT8+x2IYhoEQQghhghLrAQghhIgfEhpCCCFMk9AQQghhmoSGEEII0yQ0hBBCmJYU6wFEiq7r9PX1YbVasVgssR6OEELEBcMw8Pv9pKWloShD5xUJGxp9fX2cOXMm1sMQQoi4dMstt5CRkTHk+wkbGlarFQgWbrPZYjqW+vp6CgsLYzqGyZIotSRKHZA4tSRKHRDftfh8Ps6cORP6HfppCRsag7ukbDYbdrs9xqNhSoxhsiRKLYlSByROLYlSB8R/LSPt1pcD4UIIIUyT0BBCCGGahIYQQgjTJDSEEEKYZio0GhsbKS8vp7i4mPLycpqamob00TSNqqoqioqKWLlyJXv27DHVduTIEdatW0dhYSHbt28f8ro1NTWsXr2a0tJSVq9eTUdHxzjKFEIIMRlMnT1VWVnJhg0bKCsrY+/evVRUVLB79+6wPvv27aO5uZn9+/fT1dXFmjVrWLZsGXl5eaO25efns23bNmpra/H5fGGvefLkSX7+85/z/PPPM2vWLHp6emJ++qwQQvwlG3Om0dnZSUNDA6WlpQCUlpbS0NCAx+MJ61dTU8P69etRFAWHw0FRURG1tbVjts2dOxeXy0VS0tD8+tWvfsUjjzzCrFmzAMjIyIj709iEEC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FQBVVcnOzsbtduNwOML65ebmhp47nU5aW1vHbDPrlVdeYc6cOcyePfu6tquvr7+u/pFSV1dHdpoVgPaPzsV4NBNTV1cX6yFMikSpAxKnlkSpAxKrlmuZ2j0Va2+99RY//elP+eUvf3nd2xYWFmK32yMwKvPq6upYsmQJ/q52APKnZ8d0PBMxWEu8S5Q6IHFqSZQ6IL5r8Xq9o/6xPebuKafTSVtbG5qmAcGD2u3t7TidziH9WlpaQs/dbndoVjBa21jeffddvvvd77Jjxw7mz59vapupzNA1/F3taP29sR6KEEJctzFDIysrC5fLRXV1NQDV1dW4XK6wXVMAJSUl7NmzB13X8Xg8HDhwgOLi4jHbRnPixAm+/e1v87Of/Yzbb799PPVNOYbfS//Z99C9l2M9FCGEuG6mdk9t3bqVLVu2sHPnTjIzM0Onxm7cuJHNmzezcOFCysrKOH78OKtWrQJg06ZN5OfnA4zaduzYMZ544gl6e3sxDIPXXnuNbdu2sXz5cqqqqhgYGKCioiI0ln/6p39iwYIFk/cOCCGEMM1UaBQUFIRdWzFo165doceqqlJVVTXs9qO1LV26lEOHDg3b9tJLL5kZnhBCiCiRK8KFEEKYJqEhhBDCNAkNIYQQpkloCCGEME1CQwghhGkSGkIIIUyT0BBCCGGahIYQQgjTJDSEEEKYJqEhhBDCNAkNIYQQpkloCCGEME1CQwghhGkSGkIIIUyT0BBCCGGahIYQQgjTTIVGY2Mj5eXlFBcXU15eTlNT05A+mqZRVVVFUVERK1euDLtp02htR44cYd26dRQWFobuCGhmOyGEENFn6s59lZWVbNiwgbKyMvbu3UtFRQW7d+8O67Nv3z6
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Index(['Private', 'Apps', 'Accept', 'Enroll', 'Top10perc', 'Top25perc',\n",
"# 'F.Undergrad', 'P.Undergrad', 'Outstate', 'Room.Board', 'Books',\n",
"# 'Personal', 'PhD', 'Terminal', 'S.F.Ratio', 'perc.alumni', 'Expend',\n",
"# 'Grad.Rate'],\n",
"sns.distplot(college.Accept)\n",
"sns.distplot(college.Enroll)\n"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAEMCAYAAADAqxFbAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3deXSUVZ74/3fVU5V9rayVnQQJwRCFIIoCjhIIPQaTpodON63T31HhdEvLuEx/pftMA2n1dOP4taddcEHb/jFOL5O2RyTQiLgCikCk0RB2spGVpFKEbJWk6vn9ESkpCKkCktSSz+ucnFPJc++tz00q9ann3ufeR6OqqooQQgjxNa27AxBCCOFZJDEIIYRwIIlBCCGEA0kMQgghHEhiEEII4UDn7gCuhc1mo6urC71ej0ajcXc4QgjhFVRVpb+/n+DgYLTaS88PvDoxdHV1cezYMXeHIYQQXmnSpEmEhoZe8nOvTgx6vR4Y7Jyfn5+bo7lyFRUVZGdnuzuMa+YL/fCFPoBv9MMX+gCe3Y++vj6OHTtmfw+9mFcnhvPDR35+fvj7+7s5mqvjrXFfzBf64Qt9AN/ohy/0ATy/H5cbgpfJZyGEEA4kMQghhHAgiUEIIYQDl+YYqqqqWLVqFWazmYiICNatW0daWppDGavVypNPPsnOnTvRaDQsX76cJUuWAPDWW2/x+9//Hq1Wi81mY8mSJfzzP/8zAM8//zx/+MMfiI2NBWD69OmsWbNmBLsohBDiSriUGNasWcPSpUspLCxk06ZNrF69mo0bNzqU2bx5M7W1tWzfvh2z2UxRURGzZs0iKSmJ/Px8Fi9ejEajobOzk0WLFjFz5kwmT54MQFFREY8//vjI904IIcQVczqU1NbWRmVlJQUFBQAUFBRQWVmJyWRyKLd161aWLFmCVqvFYDCQl5fHtm3bAAgJCbHPfvf29tLf3y8L0o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jp7eAb51axpBAXqX6ymKlvxb0ggP8RtswzIwilEKIUaLJAbhoOFMJzVN55h5fTyxkUFXXF+v0zJvRgrnuvspff/YKEQohBhtkhiEnaqq7DnURFCAjqkZ0VfdjjE6mBsnxfDxgXq+ONoyghEKIcaCJAZhV9fcSWNrFzMmx6HXXdtL4+br4zFGBfP8//yd7t7+EYpQCDEWJDEIYPBs4fNDjYQE6ZkyweC8ghM6Rcv/KZhCq7mHd3aeGoEIhRBjRdYxCAAOHDtDS3sPd+QmoSgj83khzRjGtEkx/PXDE8ycEk9I4OUnsmUxnBCeQxKDDzvX3UdPr2tXBr2z8xThIX5MTr32s4XzLP1WMlMjOXDsDBu3VnJLtvGyZWUxnBCeQxKDD+vpHXBp8veMuYe65nPMuTERrQtrFq5EVHgg1yVHcPB4KzdcF0Ogv7zkhPB0MscgOFJtQlE0TEqOGJX2b5oSh9Vq44sjcoWSEN5AEsM4Z7XZOFbbztSMaAJG6dN8ZGgAmamRfHWyla4euUJJCE8niWGcq2k8R2+flZuvjx/V55mRFYfVpvLVydZRfR4hxLWTxDDOHakxERSgY3Ja5Kg+T3iIPxMSwqisMjFgtY3qcwkhro0khnGsu7efmsYOMlMiUbSj/1KYmhFNj2WAE3XmUX8uIcTVk8Qwjh2rNWNTYXLayF2iOpyk2BAiw/w5eKJVbgcqhAeTxDCOHakxERsZhCEsYEyeT6PRkDMxhlZzD01t3WPynEKIKyeJYZzq6Oqj7Wwv143SJaqXk5kSgb9esd8BTgjheSQxjFM1TR3A4LYVY0mvU8hKM3Cy3kxnd9+YPrcQwjUuJYaqqiqKi4vJz8+nuLiY6urqS8pYrVZKSkrIy8tj/vz5lJaW2o+9+OKL3HXXXSxatIjFixezc+dO+7FVq1Yxd+5cCgsLKSws5KWXXrr2Xgm
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college.Top10perc)\n"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZQAAAEMCAYAAADj8ECOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3de1hU5733//fMcD4zyGEQgpFEpEFMxJqaxLQmIOwGA83elNQmu62N+WVrY2N2u6Xp3iiNeRrT/TNt8tPmirtNHveV3eTxMYkVCSWYpFHTxEiMJ6JG5BBlAGEA5TysWb8/kKkjIMOwYAb9vq6LS2bd91rz5c6ED+t0L52qqipCCCHEOOndXYAQQohrgwSKEEIITUigCCGE0IQEihBCCE1IoAghhNCEl7sLcAebzUZnZyfe3t7odDp3lyOEEFOCqqpYrVYCAwPR64fuj1yXgdLZ2cmpU6fcXYYQQkxJs2bNIjg4eMjy6zJQvL29gYFB8fHxsS8/duwYKSkp7irrqqQ210htY+epdYHU5iqtauvr6+PUqVP236FXui4DZfAwl4+PD76+vg5tV772JFKba6S2sfPUukBqc5WWtY10qkBOygshhNCEBIoQQghNSKAIIYTQhASKEEIITUigCCGE0IQEihBCCE1IoAghhNDEdXkfyrXkYlcf3T39Dsv8/bwIDvAZYQ0hhJgYEihTXHdPP5+dbHJYNi8pSgJFCDHp5JCXEEIITUigCCGE0IQEihBCCE1IoAghhNCEU4FSXV1Nfn4+mZmZ5OfnU1NTM6SPoigUFRWRnp5ORkYG27dvH3fboDNnzjB37lw2btxoX9bd3c0TTzxBRkYGWVlZvP/++2P5uYUQQmjMqau81q1bx7Jly8jJyWHnzp0UFhaybds2hz67du2irq6OsrIy2trayM3NZeHChcTFxbncBgOBs27dOtLT0x3e7w9/+ANBQUG8++671NTU8P3vf5+ysjICAwM1GhohhBBjMeoeSktLC5WVlWRnZwOQnZ1NZWUlFovFoV9JSQl5eXno9XqMRiPp6emUlpaOqw3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iQuLs7ltszMTB544AF0Oh0dHR0sXbqUBQsWMHv27KuuJ4QQYvKNuofS0tJCZWUl2dnZAGRnZ1NZWYnFYnHoV1JSQl5eHnq9HqPRSHp6OqWlpeNqCwoKQqfTAdDT04PVarW/vtp6QgghJt+ogWI2m4mOjsZgMAADz4CPiorCbDYP6RcbG2t/bTKZaGhoGFcbwJ49e7jvvvtYvHgxjzzyCElJSU6tJ4QQYnI5dcjLne69917uvfde6uvrWbVqFXfffTczZ87UZNvHjh0bsqyiokKTbU+E4Wrz8g+jtu6swzJTqMJX1W2TVRYw9cbNU3hqbZ5aF0htrpqM2kYNFJPJRGNjI4qiYDAYUBSFpqYmTCbTkH719fWkpqYCjnsQrrZdLjY2ljlz5vDBBx8wc+ZMp9e7mpSUFHx9fe2vKyoqSEtLG9M2JstItTVZukhoNzgsM8VEEWVMnKzSpuS4eQJPrc1T6wKpzVVa1dbb2zvsH+KDRj3kFRERQXJyMsXFxQAUFxeTnJyM0Wh06JeVlcX27dux2WxYLBbKy8vJzMwcV1tVVZV9+xaLhU8++YRZs2aNup4QQojJ59Qhr/Xr11NQUMCWLVsICQlh48aNAKxYsYLVq1czZ84ccnJyOHz4MEuWLAFg1apVxMfHA7jc9sYbb7B//368vLxQVZWHHnqIu+66a9T1hBBCTD6nAiUxMXHY+zy2bt1q/95gMFBUVDTs+q62PfXUUyPWdLX1hBBCTD65U14IIYQmJFCEEEJoQgJFCCGEJiR
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college[\"F.Undergrad\"])\n"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEMCAYAAAA4S+qsAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMs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vJyeH4uJivF4vHo+HsrIysrOzfSpLTU1l//79AHR3d/PnP/+Za6+9dgxvg4iI+IOl6amtW7dSUFDAjh07iIuLY9u2bQBs2LCBzZs3s2jRIvLy8qioqGDlypUAbNy4kbS0NIAxl/3DP/wDhYWFrFq1CsMwuO2227jnnnv82H0RERkNm2maZrAbEQj9Q6xgTU+5zzmGLL9lYSKJzqhxbct4m4rDdavU9+nX96nY75F+d+qKcBERsUyhISIilik0RETEMoWGiIhYptAQERHLFBoiImKZQkNERCxTaIiIiGUKDRERsUyhISIilik0RETEMoWGiIhYptAQERHLFBoiImKZQkNERCxTaIiIiGUKDRERsUyhISIilik0RETEMoWGiIhYptAQERHLFBoB1tHZg9drBrsZIiJ+odAIoO4eg1+VHuX9j84EuykiIn6h0AigT8+cp6fXS427NdhNERHxC0uhUV1dTX5+PtnZ2eTn53Py5MkhdQzDoKioiKysLFasWEFxcbHPZQB79+5l1apV5ObmsmrVKs6ePTvGro6/2oY2AOo9HfQa3iC3RkTEdyFWKhUWFrJu3Try8vLYvXs3W7ZsYefOnYPq7Nm
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college[\"P.Undergrad\"])\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEMCAYAAADeYiHoAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3de1hU950/8PecMxfu4AADw0WMqEgDJAa3jWlMq0EhCQafppT+2OTXbhqzbW18ttlua/JsVGL7NDa/p+021ea3bmvjbn5NlsckRsKiJVm30V1zwQQleA8XlYEBhvtlmDlzfn8gxAmHmQEG5vZ+PQ9P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JSxIAgIiJFDAgiIlLEgCAiIkUMCCIiUsSAICIiRQwIIiJSxIAgIiJFDAgiIlLEgCAiIkUMiBB26J1L+O+GLkgO2ddDISI/5NMHBpHvDI7YcLC6EQ4ZiI/txVfvSENyfKSvh0VEfoR7ECHq7OUuOGTgK7clwjom4dB/Xkb9pU5fD4uI/AgDIkTVX+pEmFbEulWJ+F8bs5CaGInTF8xwyDzcRETjGBAh6uOLncjJTIBaFKDViLh1aQKGR+1o6xzy9dCIyE8wIEJQZ88IrncO4rbliZPLlhijoRYFXL7W68OREZE/YUCEoPpLZgDA7Ss+CwiNWsQSYww+vd4HB69qIiIwIELSxxe7EBelQ0ZytNPyZemxGLHacb1z0EcjIyJ/woAIMbIso/5SJ25
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college.Books)\n"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZQAAAEMCAYAAADj8ECOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3de3xU9b3/+9fMmkzuIZmQy4SEoKliNGBrbN2otG4MJMVAIj8xp6mtfVix3bKlDz11H+w+JkQ3bbH7sU8vkocPaWvL3j3dLVsrJdJsyuHnBtpKJSqYRkAxJEAmmWQmIfe5rFnnj5CRMZHJZSZzyef5eERn1ve71ny/M0Pe+a7vuug0TdMQQgghZkkf6gYIIYSIDhIoQgghAkICRQghREBIoAghhAgICRQhhBABYQh1A0LB4/EwNDRETEwMOp0u1M0RQoiIoGkaLpeLxMRE9PqJ45F5GShDQ0OcOXMm1M0QQoiIdP3115OcnDxh+bwMlJiYGGDsTTEajQHZZnNzM0VF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+uqrLF68mOzs7GmtF03aLANkXmVCflxCXAxpybF02WViXggRWBF/2PBf//pXfvSjH/Hzn/982us2NzcHtC1NTU0B3d5UOd0eOnoG+ZQ5lrb2Nu/yRekxPs/HlyXFanR0D3Cu7Rw6nQ7zApXzrR+N7kLVj0CKhj6A9COcREMfILj98BsoZrOZrq4uVFVFURRUVcVqtWI2myfU6+joYPny5YDvyGOmZf6
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college.Expend)\n"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAEOCAYAAACNY7BQAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3de3hU1b34//fMJJncL5MbkzuJAsEEhSAaEa0SEqyBofTEWA7qOSrUI5bW2h45fX4FUrUtnu/xqaWgLV+r5dRbU/yChEgRL+Wi5RIQCOFOLkAmCWRyv0ySmf37IzB1TEgmIckkM5/X8/AwM3utvT8rM8ln9tprra1SFEVBCCGEuErt7ACEEEKMLpIYhBBC2JHEIIQQwo4kBiGEEHYkMQghhLAjiUEIIYQdD0cKlZaWsmLFCurr6wkODmbNmjUkJCTYlbFYLLz44ovs3r0blUrF0qVLycnJAWDTpk289dZbqNVqrFYrOTk5PProowCsXbuWd955h4iICACmTZvGqlWrhrCJQgghBkLlyDyGRx99lO9+97sYDAa2bNnCpk2b2Lhxo12ZzZs3s3XrVjZs2EB9fT0LFizgnXfeISYmhubmZvz8/FCpVDQ3NzNv3jxee+01Jk2axNq1a2ltbeX5558fcPBWq5WWlhY8PT1RqVQDri+EEO5IURQ6Ozvx8/NDre7ZcdTvGUNtbS0lJS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K2OxWHjxxRfZvXs3KpWKpUuXkpOTA8C6desoLCxErVbj6enJs88+y6xZswBYsWIFX3zxBSEh3WOW586dy3/8x38MYROFEIPR1NpBW/v1++A
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college.Terminal)\n"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYsAAAEMCAYAAAA1VZrrAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3de3xU1b3w/8/MZJJM7pkkk0zIDYJAIFyDKCBqNRCqwfD4HBpLtZ6j4s+KUm2PT9Nzfgek6tNiz89TL6CtrZ6Hp621qRYEEZFKBbwB4WYId3LPJEMyCeSezMz+/RFJDQmZSTLJnkm+79crr1dm77VmfxfMznf2WnuvpVEURUEIIYToh1btAIQQQng/SRZCCCFckmQhhBDCJUkWQgghXJJkIYQQwiU/tQMYCqfTSXNzM3q9Ho1Go3Y4QgjhExRFobOzk+DgYLRa964ZfDpZNDc3c+bMGbXDEEIInzRp0iRCQ0PdKuvTyUKv1wNdDfb39x+RYxYWFpKenj4ixxpO0g7vM1raMlraAaOnLVe3o6OjgzNnznT/DXWHTyeLK11P/v7+BAQEjNhxR/JYw0na4X1GS1tGSztg9LSlr3YMpPteBriFEEK4JMlCCCGES5IshBBCuCTJQgghhEuSLIQQQrgkyUIIIYRLkiyEEEK45NPPWQghPKuxpYPWNrvb5Q2BfoQGjcwDsUJdkiyEEN1a2+wcPm11u/ycySZJFmOEdEMJIYRwSZKFEEIIlyRZCCGEcEmShRBCCJckWQghhHBJkoUQQgiXJFkIIYRwSZKFEEIIlyRZCCGEcEmShRBCCJ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adata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college.PhD)\n"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAEMCAYAAADAqxFbAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3deXyU5b3//9ds2QnJZJ0sJCSSEAhhCQiIuEAktEaT09MYfqi1VbFutfW0/UrPqSwqbbGnnrqhrafar1/aaqkWS0wRUREQFRJCQkiAACH7QlbIPpm5f38gqUMSMiHLPZN8no8HD5O5r/vKe+JMPnMv13VpFEVREEIIIb6iVTuAEEIIxyKFQQghhA0pDEIIIWxIYRBCCGFDCoMQQggberUDDIfVaqWtrQ2DwYBGo1E7jhBCOAVFUTCbzXh6eqLV9j0+cOrC0NbWxsmTJ9WOIYQQTikmJoZJkyb1edypC4PBYAAuPjkXF5cR77+goID4+PgR73c0SeaxIZnHjjPmdvTM3d3dnDx5svdv6OWcujBcOn3k4uKCq6vrqPyM0ep3NEnmsSGZx44z5naGzAOdgpeLz0IIIWxIYRBCCGFDCoMQQggbUhiEEELYkMIghBDChhQGIYQQNqQwCCGEsOHU4xiEcGQX2rvp6OwZ0j7ubnomeYz8YE0hhkIKgxCjpKOzh8Mn6oa0z7zYQCkMQnVyKkkIIYQNKQxCCCFsSGEQQghhQwqDEEIIG1IYhBBC2JDCIIQQwoYUBiGEEDakMAghhLAhhUEIIYQNKQxCCCFsSGEQQghhw665kkpKSli7di3Nzc34+PiwefNmIiMjbdpYLBaeeeYZ9u3bh0aj4YEHHiA9PR2Al19+maysLLRaLQaDgccff5ylS5cCsHbtWg4cOICvry8AK1eu5KGHHhrBpyiEEGIo7CoM69evZ/Xq1aSmpvLee++xbt063nzzT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bfO4POjVfzhvWM8ed/CUf1ZQlxu0FNJDQ0NFBYWkpKSAkBKSgqFhYU0NjbatMvKyiI9PR2tVovRaCQpKYmdO3cCsHTpUtzdL04PEBsbi6IoNDc3A/DPf/6TjIwMACIjI4mPj2fv3r0j9wyFGKaSqhY2vPYFvt5uPPX964Z0lHG1jN5u3JEUy8HCGo6ctL/YCTESBi0M1dXVBAUFodNdHLij0+kIDAykurq6T7uQkJDe700mEzU1NX362759O1OmTCE4OBiAqqoqQkNDB91PCDWU1pxn3e8+x91FxzPfvw6jt9uY/ezbl0YRaPTg9R3HsMjtq2IMjem02wcPHuT555/n9ddfH9F+CwoKRrS/r8vJyRm1vkfLRM2sd/ehtKzC7vamyRbKS5oH3F7T1M2bH9ej1cJdNwVQXlJEecm/tg+Weah5+su0dLob7xxo5I/v7GNO1PBPrzrjawOcM7czZr5k0MJgMpmora3FYrGg0+mwWCzU1dVhMpn6tKuqqiIhIQHoewSRm5vLT3/6U7Zs2UJUVFTv4yEhIVRWVmI0Gnv3W7hwaOdU4+PjcXV1HdI+9sjJySExMXHE+x1NEzlzXWM7ES32T0lhCg4k0Bjd77ZTFc38ZvsBPNxc2PTQEkICbC8A25N5qHn6yzR3rkJ++V72F3VwZ+p1uLlc/Wc5Z3xtgHPmdvTMXV1dV/xAPeipJD8/P+Li4sjMzAQgMzOTuLi43j/kl6xcuZJt27ZhtVppbGxk9+7dJCcnA5Cfn8/jjz/OCy+8wMyZM/vs9/bbbwNw9uxZjh492nvHkhBqOFXezM9fPYC7q55fPnJ9n6IwlrRaDffeNpP6lk7+sfeMajnExGLXOIYNGzawdetWkpOT2bp1Kxs3bgRgzZo1HD168e6M1NRUwsLCWLF
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ax = sns.distplot(college[\"Grad.Rate\"])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.1"
}
},
"nbformat": 4,
"nbformat_minor": 4
}