version to submit on Friday
This commit is contained in:
1 parent
a9a28c38e1
commit
56a5bb2b83
1 file changed
+251
-214
+251
-214
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 77,
|
||||
"execution_count": 1,
|
||||
"id": "7acc26cb",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 30,
|
||||
"execution_count": 2,
|
||||
"id": "c821dd0a",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 31,
|
||||
"execution_count": 3,
|
||||
"id": "e080ce64",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -33,7 +33,7 @@
|
||||
"(212331, 15)"
|
||||
]
|
||||
},
|
||||
"execution_count": 31,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -44,7 +44,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 32,
|
||||
"execution_count": 4,
|
||||
"id": "57651a37",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
@@ -71,7 +71,7 @@
|
||||
"dtype: object"
|
||||
]
|
||||
},
|
||||
"execution_count": 32,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -82,7 +82,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 33,
|
||||
"execution_count": 5,
|
||||
"id": "7147a7d1",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -102,7 +102,31 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 34,
|
||||
"execution_count": 6,
|
||||
"id": "377a2d08",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"array(['K-8', 'High school', 'Junior High-Intermediate-Middle',\n",
|
||||
" 'Secondary School', 'K-12 all grades', 'Elementary'], dtype=object)"
|
||||
]
|
||||
},
|
||||
"execution_count": 6,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# What kind of schools are included?\n",
|
||||
"\n",
|
||||
"df['School Level'].unique()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"id": "897e335b",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -127,7 +151,7 @@
|
||||
"dtype: int64"
|
||||
]
|
||||
},
|
||||
"execution_count": 34,
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -140,7 +164,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 35,
|
||||
"execution_count": 9,
|
||||
"id": "e0ab351b",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -441,7 +465,7 @@
|
||||
"209786 0 0 "
|
||||
]
|
||||
},
|
||||
"execution_count": 35,
|
||||
"execution_count": 9,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -452,7 +476,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 36,
|
||||
"execution_count": 10,
|
||||
"id": "c9a49215",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -467,7 +491,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 42,
|
||||
"execution_count": 11,
|
||||
"id": "738ee993",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -481,7 +505,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 44,
|
||||
"execution_count": 12,
|
||||
"id": "258073d0",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -599,7 +623,7 @@
|
||||
"4 s "
|
||||
]
|
||||
},
|
||||
"execution_count": 44,
|
||||
"execution_count": 12,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -610,7 +634,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 48,
|
||||
"execution_count": 13,
|
||||
"id": "1f05cd97",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -655,7 +679,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 70,
|
||||
"execution_count": 25,
|
||||
"id": "f86ea927",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -692,26 +716,15 @@
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>2222</th>\n",
|
||||
" <th>148870</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>38</td>\n",
|
||||
" <td>74.2</td>\n",
|
||||
" <td>36.8</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2223</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>63</td>\n",
|
||||
" <td>77.8</td>\n",
|
||||
" <td>54.0</td>\n",
|
||||
" <td>English</td>\n",
|
||||
" <td>2015</td>\n",
|
||||
" <td>33</td>\n",
|
||||
" <td>74.8</td>\n",
|
||||
" <td>24.2</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2224</th>\n",
|
||||
@@ -725,103 +738,15 @@
|
||||
" <td>30.8</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>23479</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>30</td>\n",
|
||||
" <td>74.9</td>\n",
|
||||
" <td>40.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>23480</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>8</td>\n",
|
||||
" <td>71.9</td>\n",
|
||||
" <td>25.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>59854</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>22</td>\n",
|
||||
" <td>76.8</td>\n",
|
||||
" <td>45.5</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>59857</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>45</td>\n",
|
||||
" <td>77.5</td>\n",
|
||||
" <td>55.6</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>59860</th>\n",
|
||||
" <th>107118</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>English</td>\n",
|
||||
" <td>2015</td>\n",
|
||||
" <td>49</td>\n",
|
||||
" <td>73.3</td>\n",
|
||||
" <td>26.5</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107113</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>23</td>\n",
|
||||
" <td>77.8</td>\n",
|
||||
" <td>52.2</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107114</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>15</td>\n",
|
||||
" <td>68.8</td>\n",
|
||||
" <td>13.3</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107115</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>36</td>\n",
|
||||
" <td>77.0</td>\n",
|
||||
" <td>44.4</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107116</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>27</td>\n",
|
||||
" <td>78.9</td>\n",
|
||||
" <td>66.7</td>\n",
|
||||
" <td>31</td>\n",
|
||||
" <td>71.8</td>\n",
|
||||
" <td>25.8</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107117</th>\n",
|
||||
@@ -835,15 +760,37 @@
|
||||
" <td>35.3</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107118</th>\n",
|
||||
" <th>148869</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>English</td>\n",
|
||||
" <td>2015</td>\n",
|
||||
" <td>31</td>\n",
|
||||
" <td>71.8</td>\n",
|
||||
" <td>25.8</td>\n",
|
||||
" <td>25</td>\n",
|
||||
" <td>75.3</td>\n",
|
||||
" <td>40.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>59860</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>English</td>\n",
|
||||
" <td>2015</td>\n",
|
||||
" <td>49</td>\n",
|
||||
" <td>73.3</td>\n",
|
||||
" <td>26.5</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>148861</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>22</td>\n",
|
||||
" <td>75.4</td>\n",
|
||||
" <td>36.4</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>148860</th>\n",
|
||||
@@ -857,15 +804,103 @@
|
||||
" <td>30.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>148861</th>\n",
|
||||
" <th>107114</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>15</td>\n",
|
||||
" <td>68.8</td>\n",
|
||||
" <td>13.3</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2222</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>38</td>\n",
|
||||
" <td>74.2</td>\n",
|
||||
" <td>36.8</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>59854</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>22</td>\n",
|
||||
" <td>75.4</td>\n",
|
||||
" <td>36.4</td>\n",
|
||||
" <td>76.8</td>\n",
|
||||
" <td>45.5</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>23480</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>8</td>\n",
|
||||
" <td>71.9</td>\n",
|
||||
" <td>25.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>23479</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>30</td>\n",
|
||||
" <td>74.9</td>\n",
|
||||
" <td>40.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107113</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2016</td>\n",
|
||||
" <td>23</td>\n",
|
||||
" <td>77.8</td>\n",
|
||||
" <td>52.2</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>59857</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>45</td>\n",
|
||||
" <td>77.5</td>\n",
|
||||
" <td>55.6</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>107116</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>27</td>\n",
|
||||
" <td>78.9</td>\n",
|
||||
" <td>66.7</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2223</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>63</td>\n",
|
||||
" <td>77.8</td>\n",
|
||||
" <td>54.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>148864</th>\n",
|
||||
@@ -912,26 +947,15 @@
|
||||
" <td>71.4</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>148869</th>\n",
|
||||
" <th>107115</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>English</td>\n",
|
||||
" <td>2015</td>\n",
|
||||
" <td>25</td>\n",
|
||||
" <td>75.3</td>\n",
|
||||
" <td>40.0</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>148870</th>\n",
|
||||
" <td>02M605</td>\n",
|
||||
" <td>Humanities Preparatory Academy</td>\n",
|
||||
" <td>High school</td>\n",
|
||||
" <td>English</td>\n",
|
||||
" <td>2015</td>\n",
|
||||
" <td>33</td>\n",
|
||||
" <td>74.8</td>\n",
|
||||
" <td>24.2</td>\n",
|
||||
" <td>Common Core English</td>\n",
|
||||
" <td>2017</td>\n",
|
||||
" <td>36</td>\n",
|
||||
" <td>77.0</td>\n",
|
||||
" <td>44.4</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
@@ -939,79 +963,79 @@
|
||||
],
|
||||
"text/plain": [
|
||||
" School DBN School Name School Level \\\n",
|
||||
"2222 02M605 Humanities Preparatory Academy High school \n",
|
||||
"2223 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148870 02M605 Humanities Preparatory Academy High school \n",
|
||||
"2224 02M605 Humanities Preparatory Academy High school \n",
|
||||
"23479 02M605 Humanities Preparatory Academy High school \n",
|
||||
"23480 02M605 Humanities Preparatory Academy High school \n",
|
||||
"59854 02M605 Humanities Preparatory Academy High school \n",
|
||||
"59857 02M605 Humanities Preparatory Academy High school \n",
|
||||
"59860 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107113 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107114 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107115 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107116 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107117 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107118 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148860 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107117 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148869 02M605 Humanities Preparatory Academy High school \n",
|
||||
"59860 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148861 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148860 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107114 02M605 Humanities Preparatory Academy High school \n",
|
||||
"2222 02M605 Humanities Preparatory Academy High school \n",
|
||||
"59854 02M605 Humanities Preparatory Academy High school \n",
|
||||
"23480 02M605 Humanities Preparatory Academy High school \n",
|
||||
"23479 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107113 02M605 Humanities Preparatory Academy High school \n",
|
||||
"59857 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107116 02M605 Humanities Preparatory Academy High school \n",
|
||||
"2223 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148864 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148865 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148866 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148867 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148869 02M605 Humanities Preparatory Academy High school \n",
|
||||
"148870 02M605 Humanities Preparatory Academy High school \n",
|
||||
"107115 02M605 Humanities Preparatory Academy High school \n",
|
||||
"\n",
|
||||
" Regents Exam Year Total Tested Mean Score \\\n",
|
||||
"2222 Common Core English 2016 38 74.2 \n",
|
||||
"2223 Common Core English 2017 63 77.8 \n",
|
||||
"148870 English 2015 33 74.8 \n",
|
||||
"2224 English 2015 65 74.1 \n",
|
||||
"23479 Common Core English 2016 30 74.9 \n",
|
||||
"23480 Common Core English 2016 8 71.9 \n",
|
||||
"59854 Common Core English 2016 22 76.8 \n",
|
||||
"59857 Common Core English 2017 45 77.5 \n",
|
||||
"59860 English 2015 49 73.3 \n",
|
||||
"107113 Common Core English 2016 23 77.8 \n",
|
||||
"107114 Common Core English 2016 15 68.8 \n",
|
||||
"107115 Common Core English 2017 36 77.0 \n",
|
||||
"107116 Common Core English 2017 27 78.9 \n",
|
||||
"107117 English 2015 34 76.3 \n",
|
||||
"107118 English 2015 31 71.8 \n",
|
||||
"148860 Common Core English 2016 10 70.0 \n",
|
||||
"107117 English 2015 34 76.3 \n",
|
||||
"148869 English 2015 25 75.3 \n",
|
||||
"59860 English 2015 49 73.3 \n",
|
||||
"148861 Common Core English 2016 22 75.4 \n",
|
||||
"148860 Common Core English 2016 10 70.0 \n",
|
||||
"107114 Common Core English 2016 15 68.8 \n",
|
||||
"2222 Common Core English 2016 38 74.2 \n",
|
||||
"59854 Common Core English 2016 22 76.8 \n",
|
||||
"23480 Common Core English 2016 8 71.9 \n",
|
||||
"23479 Common Core English 2016 30 74.9 \n",
|
||||
"107113 Common Core English 2016 23 77.8 \n",
|
||||
"59857 Common Core English 2017 45 77.5 \n",
|
||||
"107116 Common Core English 2017 27 78.9 \n",
|
||||
"2223 Common Core English 2017 63 77.8 \n",
|
||||
"148864 Common Core English 2017 6 76.7 \n",
|
||||
"148865 Common Core English 2017 16 78.6 \n",
|
||||
"148866 Common Core English 2017 34 76.9 \n",
|
||||
"148867 Common Core English 2017 7 81.1 \n",
|
||||
"148869 English 2015 25 75.3 \n",
|
||||
"148870 English 2015 33 74.8 \n",
|
||||
"107115 Common Core English 2017 36 77.0 \n",
|
||||
"\n",
|
||||
" Percent Scoring 80 or Above \n",
|
||||
"2222 36.8 \n",
|
||||
"2223 54.0 \n",
|
||||
"148870 24.2 \n",
|
||||
"2224 30.8 \n",
|
||||
"23479 40.0 \n",
|
||||
"23480 25.0 \n",
|
||||
"59854 45.5 \n",
|
||||
"59857 55.6 \n",
|
||||
"59860 26.5 \n",
|
||||
"107113 52.2 \n",
|
||||
"107114 13.3 \n",
|
||||
"107115 44.4 \n",
|
||||
"107116 66.7 \n",
|
||||
"107117 35.3 \n",
|
||||
"107118 25.8 \n",
|
||||
"148860 30.0 \n",
|
||||
"107117 35.3 \n",
|
||||
"148869 40.0 \n",
|
||||
"59860 26.5 \n",
|
||||
"148861 36.4 \n",
|
||||
"148860 30.0 \n",
|
||||
"107114 13.3 \n",
|
||||
"2222 36.8 \n",
|
||||
"59854 45.5 \n",
|
||||
"23480 25.0 \n",
|
||||
"23479 40.0 \n",
|
||||
"107113 52.2 \n",
|
||||
"59857 55.6 \n",
|
||||
"107116 66.7 \n",
|
||||
"2223 54.0 \n",
|
||||
"148864 50.0 \n",
|
||||
"148865 50.0 \n",
|
||||
"148866 52.9 \n",
|
||||
"148867 71.4 \n",
|
||||
"148869 40.0 \n",
|
||||
"148870 24.2 "
|
||||
"107115 44.4 "
|
||||
]
|
||||
},
|
||||
"execution_count": 70,
|
||||
"execution_count": 25,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -1019,12 +1043,12 @@
|
||||
"source": [
|
||||
"# Filter the dataset. Let's have a look at the Humanities Preparatory Academy High School in Chelsea\n",
|
||||
"\n",
|
||||
"df[df['School DBN'] == '02M605']"
|
||||
"df[df['School DBN'] == '02M605'].sort_values(by = ['Year'])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 67,
|
||||
"execution_count": 15,
|
||||
"id": "1cc0ab0a",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -1038,7 +1062,7 @@
|
||||
"Name: Mean Score, dtype: float64"
|
||||
]
|
||||
},
|
||||
"execution_count": 67,
|
||||
"execution_count": 15,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -1051,7 +1075,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 72,
|
||||
"execution_count": 16,
|
||||
"id": "8ad44a32",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -1065,7 +1089,7 @@
|
||||
"Name: Mean Score, dtype: float64"
|
||||
]
|
||||
},
|
||||
"execution_count": 72,
|
||||
"execution_count": 16,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -1082,7 +1106,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 74,
|
||||
"execution_count": 17,
|
||||
"id": "3b420509",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -1096,13 +1120,13 @@
|
||||
"Name: Mean Score, dtype: float64"
|
||||
]
|
||||
},
|
||||
"execution_count": 74,
|
||||
"execution_count": 17,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# High schools in Bronx, Queens, Brooklyn and Staten Island\n",
|
||||
"# Other high schools in other boroughs\n",
|
||||
"\n",
|
||||
"df[(df['School DBN'] != '02M605')\n",
|
||||
" & (df['School Level'] == 'High school')\n",
|
||||
@@ -1113,25 +1137,25 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 105,
|
||||
"id": "7b5fd34a",
|
||||
"execution_count": 57,
|
||||
"id": "e0e8e522",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"<AxesSubplot:xlabel='Year'>"
|
||||
"<AxesSubplot:>"
|
||||
]
|
||||
},
|
||||
"execution_count": 105,
|
||||
"execution_count": 57,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAEWCAYAAAB/tMx4AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAQqElEQVR4nO3de4xnZ13H8ffH3WJLEdptZzcrS1mMa7HWtIUJog0GXNYUQXbVtBSFTLC6/8g1GFwvCSiJqUaJEC/JBpBRoLZUyK5ggM1INQgUphehZVuXS7vULrtDKZeWcGn79Y85y06nsztnfnP57bPzfiWTc85zzm/ON3kmnzzz/M4lVYUkqT0/MuwCJEmDMcAlqVEGuCQ1ygCXpEYZ4JLUKANckhq1diVPdu6559bmzZtX8pSS1Lybbrrpa1U1Mru9V4AneR3wO0ABnwNeATweuBbYDNwFXFFV95/o92zevJnJyckFFS5Jq12Su+dqn3cKJcmTgVcDo1V1IbAGuBLYBUxU1RZgotuWJK2QvnPga4EzkqxleuR9L7AdGO/2jwM7lrw6SdJxzRvgVfV/wF8BB4FDwDer6qPAhqo61B1zCFi/nIVKkh6tzxTK2UyPtp8G/DhwZpKX9T1Bk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gXsj4hwqQtbwmixU2tV1GPtIte6vdPxXq3V/O8Nf//pX4F8B6rTTTgOguLiY4uLiajnG1KlT2Weffbj88su57rrruPHGGyuXpZRIKdGokY/Ak7RjqvS3SErp6pRS55RSt5TSmSmlf6aU3k8pDUwpdcpNP6jpYiVVn5EjR3L//fdXzq8frZo2bRpHHXUUJ598MgcddBBjx47lzjvvpHfv3hQUFPDWW28B8PDDD9OnTx969OjBsccey9KlSwEYN24co0aNYsCAAXTs2HGjALP+GGPHjuXpp5+mqKiICRMmMG3aNAYPHgzAqlWrGDVqFL169aJHjx5MmlQxuD1nzhx69+5NUVERhYWFzJ8/f6vfr3///vztb3+jtLSULl26cNFFF9GzZ08WLlzI9ddfT69evSgsLOTqq68GKkJd586dGTFiBIWFhQwbNoyPP/64On7UkuqhnfoqF0k71yeffEJRUVHl/AcffMCQIUO2ud0rr7zC3LlzadmyJR07duTcc8/l+eef55e//CU33XQTv/jFLzjiiCN49tlniQhuvfVWfvrTn/Kzn/0MgHnz5jF16lRWrFjBwQcfzIUXXrjRre/jx4/nhhtuYPLkyUBFaFvv2muv5ZhjjuH2229n2bJl9O7dm2OPPZbf/OY3jB49mtNPP51PP/2U8vLyrX6HyZMnU1BQAMAbb7zBHXfcwc0338zjjz/O/Pnzef7550kpMWTIEKZPn0779u154403uO222+jXrx+jRo3i5ptv5rvf/W5Vf9zaBVT3SHAWu+KosbbMACXVY82aNWPWrFmV8xMnTqzS+yh79erFfvvtB8CBBx7IoEGDACgoKGDq1KlAxWMaTjnlFJYsWcKnn3660a3tX/3qV2natClNmzalTZs2LF26lHbt2lWp5scff5yHHnqIG264Aai4m3HBggUcdthhXHvttSxatIiTTjqJTp06bXb7o48+mry8PAoLC/nxj3/MsmXL+MIXvkDfvn0r9//444/To0cPAFauXMn8+fNp3749n//85+nXrx8AZ5xxBjfeeKMBStJmGaCkBqpx48asW7cOqLg26NNPP61c1rRp08rPjRo1qpxv1KgRa9euBeBb3/oW3/nOdxgyZAjTpk1j3Lhxm90+Ly+vcpuqSCnxwAMPcPDBB2/U3qVLF/r06cMjjzzC8ccfz6233soxxxyzyfbrr4Fab9myZeyxxx4b7f+yyy7jm9/85kbblZaWbnKXmXedSdoSr6SUGqgOHTrw4osvAjBp0iTWrFmTafvly5fTtm1bAEpKSjJt27x5c1asWLHZZccffzw33XQTKSUAXn75ZQD+/ve/07FjR7797W8zZMgQXn311UzH3HD/t99+OytXrgTgnXfe4d13K57CsmDBAp555hkA7r77bo444ojtOoak+s8AJTVQ5513Hk899RS9e/fmueee22iUpirGjRvH8OHDOfLIIzca8amKwsJCGjduTPfu3ZkwYcJGy6688krWrFlDYWEh3bp148orrwTgnnvuoVu3bhQVFTFv3jzOOuusTMdcb9CgQZx22mkcdthhFBQUMGzYsMow16VLF0pKSigsLOSDDz7gwgsv3K5jSKr/Yv3/8naG4uLiVJXrL6T6YO7cuXTp0qW2y1AVlZaWMnjwYGbPnl3bpdRpu3q/9iJyZRERL6aUNvuMFUegJEmSMjJASRIV14Q5+iSpqgxQkiRJGRmgJEmSMjJASZIkZWSAkiRJysgAJdVjixYt4oQTTqBTp04ceOCBjB49uvKJ47NmzeJPf/pT5brjxo2rfH1KdRg5ciS77777Rg/MHD16NBHBe++9t9373PAFyNuybNkybr755sr50tJS7rrrru06dlXrWf/C5MWLFzNs2LBt7mP9+pJ2Lb7KpQp8boiqxbi9q3l/y7e6OKXESSedxIUXXsikSZMoLy/n/PPP54orruD6669n1qxZzJw5k6985SvVUk55eTl5eXkbtX3xi19k0qRJnHHGGaxbt46pU6dWPr18Z1gfoC666CLgXwHqtNNOq/Fj77///pnCnqRdiyNQUj315z//mfz8fM4++2yg4p10EyZM4Pbbb+ejjz7iqquu4p577qGoqIh77rkHgNdff50BAwbQsWNHbrzxxsp9/eEPf6B3794UFRXxzW9+k/LycqBi9OSqq66iT58+la9A2dCpp55aue9p06bRr18/Gjf+1//bhg4dyqGHHsohhxzCLbfcUtm+5557csUVV9C9e3f69u3L0qVLK5dNnz6dww8/n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wYMYPXq1QA0adKkMuTl5eWxdu3ayu2aNv1XjetPq915552UlZXx4osv0qRJEzp06FC5r62ZMGEC++67L6+88grr1q0jPz9/s8f5bA1Zbe3035a+629+8xuee+45HnnkEYqKipg1axatWrXa7hokVS8DlFRPDRw4kLFjx/K73/2Os846i/Lyci699NLKu+OaN2++0R1yW9KnX38uOed0zjj3Ilrt05rlH37IqlUr2L9d+yrVsV/bz3Px935A3yMGbNS+8qOP2Gvvz9Gs2e7MmzePZ599dnu+JgDLly+nTZs2NGnShKlTp/L2228DbPIdPzu/fPly2rVrR6NGjSgpKam8tqu6HXHEEdx7770cffTRvP7667z22mvb3Oatt96iT58+9OnTh4cffpiFCxcaoHZ11X0jSaZjb/2mE2XnReRSPRURPPjgg9x333106tSJgw46iPz8fK677jqAyn/MN7yIfHMOPKgz/z7mCi48/SSGHdePb55+Iu+9u+3TYxsafsbZfL7DARu19RswkPK1axl2XD+uvPJK+vbtm/1L5px++unMnDmT4uJi7rzLine truncated
|
||||
"text/plain": [
|
||||
"<Figure size 432x288 with 1 Axes>"
|
||||
"<Figure size 720x360 with 1 Axes>"
|
||||
]
|
||||
},
|
||||
"metadata": {
|
||||
@@ -1141,18 +1165,31 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# test plot\n",
|
||||
"# Visualization\n",
|
||||
"\n",
|
||||
"df[df['School DBN'] == '02M605'].groupby(['Year'])['Mean Score'].mean().plot(kind = 'bar')"
|
||||
"# Dictionary made by manually entering data from three previous cells.\n",
|
||||
"# I wish I knew how to do this programmatically.\n",
|
||||
"\n",
|
||||
"d = {'Humanities Prep': [74.266667, 73.725000, 78.062500],\n",
|
||||
" 'Other Manhattan Highs': [70.562738, 70.612695, 72.814383],\n",
|
||||
" 'High Schools Other Boroughs': [67.399191, 65.028724, 67.557191]}\n",
|
||||
"new_df = pd.DataFrame(data = d, index = ['2015', '2016', '2017'])\n",
|
||||
"new_df.plot(kind = 'bar', figsize = (10, 5))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "b2ab50ef",
|
||||
"id": "6749209e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
"source": [
|
||||
"# Conclusions\n",
|
||||
"\n",
|
||||
"# We lost a lot of data from the dataset by dropping the 's' values. Maybe we should have done mean imputation.\n",
|
||||
"# Humanities Prep Academy scored higher in the English Regents exam than other high schools in Manhattan\n",
|
||||
"# and higher than schools in other boroughs, for every year surveyed."
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in new issue
Block a user