DATA201_projects/python_project_1.ipynb

1308 lines
74 KiB
Plaintext
Raw Normal View History

2022-07-11 21:42:36 -04:00
{
"cells": [
{
"cell_type": "code",
2022-07-15 21:14:21 -04:00
"execution_count": 1,
2022-07-11 21:42:36 -04:00
"id": "7acc26cb",
"metadata": {},
"outputs": [],
"source": [
2022-07-15 16:22:57 -04:00
"import pandas as pd\n",
"import matplotlib.pyplot as plt"
2022-07-11 21:42:36 -04:00
]
},
{
"cell_type": "code",
2022-07-15 21:14:21 -04:00
"execution_count": 2,
2022-07-11 21:42:36 -04:00
"id": "c821dd0a",
"metadata": {},
"outputs": [],
"source": [
"df = pd.read_csv('https://raw.githubusercontent.com/CunyLaguardiaDataAnalytics/datasets/master/2014-15_To_2016-17_School-_Level_NYC_Regents_Report_For_All_Variables.csv')"
]
},
{
"cell_type": "code",
2022-07-15 21:14:21 -04:00
"execution_count": 3,
2022-07-11 21:42:36 -04:00
"id": "e080ce64",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(212331, 15)"
]
},
2022-07-15 21:14:21 -04:00
"execution_count": 3,
2022-07-11 21:42:36 -04:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.shape"
]
},
{
"cell_type": "code",
2022-07-15 21:14:21 -04:00
"execution_count": 4,
2022-07-11 21:42:36 -04:00
"id": "57651a37",
"metadata": {
"scrolled": true
},
"outputs": [
{
"data": {
"text/plain": [
"School DBN object\n",
"School Name object\n",
"School Level object\n",
"Regents Exam object\n",
"Year int64\n",
"Total Tested int64\n",
"Mean Score object\n",
"Number Scoring Below 65 object\n",
"Percent Scoring Below 65 object\n",
"Number Scoring 65 or Above object\n",
"Percent Scoring 65 or Above object\n",
"Number Scoring 80 or Above object\n",
"Percent Scoring 80 or Above object\n",
"Number Scoring CR object\n",
"Percent Scoring CR object\n",
"dtype: object"
]
},
2022-07-15 21:14:21 -04:00
"execution_count": 4,
2022-07-11 21:42:36 -04:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.dtypes"
]
},
{
"cell_type": "code",
2022-07-15 21:14:21 -04:00
"execution_count": 5,
2022-07-11 21:42:36 -04:00
"id": "7147a7d1",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2015 2017\n"
]
}
],
"source": [
"# Time range should be 2014-2015 to 2016-2017 school year. Does the 'Year' column reflect this range?\n",
"\n",
"print(df['Year'].min(), df['Year'].max())"
]
},
{
"cell_type": "code",
2022-07-15 21:14:21 -04:00
"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": 7,
2022-07-11 21:42:36 -04:00
"id": "897e335b",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"School DBN 0\n",
"School Name 0\n",
"School Level 0\n",
"Regents Exam 10\n",
"Year 0\n",
"Total Tested 0\n",
"Mean Score 0\n",
"Number Scoring Below 65 0\n",
"Percent Scoring Below 65 0\n",
"Number Scoring 65 or Above 0\n",
"Percent Scoring 65 or Above 0\n",
"Number Scoring 80 or Above 0\n",
"Percent Scoring 80 or Above 0\n",
"Number Scoring CR 0\n",
"Percent Scoring CR 0\n",
"dtype: int64"
]
},
"execution_count": 7,
2022-07-11 21:42:36 -04:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Is there any missing data?\n",
"\n",
"df.isna().sum()"
]
},
{
"cell_type": "code",
"execution_count": 8,
2022-07-11 21:42:36 -04:00
"id": "e0ab351b",
"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>School DBN</th>\n",
" <th>School Name</th>\n",
" <th>School Level</th>\n",
" <th>Regents Exam</th>\n",
" <th>Year</th>\n",
" <th>Total Tested</th>\n",
" <th>Mean Score</th>\n",
" <th>Number Scoring Below 65</th>\n",
" <th>Percent Scoring Below 65</th>\n",
" <th>Number Scoring 65 or Above</th>\n",
" <th>Percent Scoring 65 or Above</th>\n",
" <th>Number Scoring 80 or Above</th>\n",
" <th>Percent Scoring 80 or Above</th>\n",
" <th>Number Scoring CR</th>\n",
" <th>Percent Scoring CR</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>18654</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>90</td>\n",
" <td>55.6</td>\n",
" <td>61</td>\n",
" <td>67.8</td>\n",
" <td>29</td>\n",
" <td>32.2</td>\n",
" <td>6</td>\n",
" <td>6.7</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>52756</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>81</td>\n",
" <td>55.9</td>\n",
" <td>55</td>\n",
" <td>67.9</td>\n",
" <td>26</td>\n",
" <td>32.1</td>\n",
" <td>5</td>\n",
" <td>6.2</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>52757</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>9</td>\n",
" <td>53.4</td>\n",
" <td>6</td>\n",
" <td>66.7</td>\n",
" <td>3</td>\n",
" <td>33.3</td>\n",
" <td>1</td>\n",
" <td>11.1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>100865</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>5</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>na</td>\n",
" <td>na</td>\n",
" </tr>\n",
" <tr>\n",
" <th>100866</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>54</td>\n",
" <td>57.4</td>\n",
" <td>34</td>\n",
" <td>63</td>\n",
" <td>20</td>\n",
" <td>37</td>\n",
" <td>6</td>\n",
" <td>11.1</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>100867</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>31</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" <td>na</td>\n",
" <td>na</td>\n",
" </tr>\n",
" <tr>\n",
" <th>138300</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>54</td>\n",
" <td>57.3</td>\n",
" <td>34</td>\n",
" <td>63</td>\n",
" <td>20</td>\n",
" <td>37</td>\n",
" <td>5</td>\n",
" <td>9.3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>138301</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>36</td>\n",
" <td>53.2</td>\n",
" <td>27</td>\n",
" <td>75</td>\n",
" <td>9</td>\n",
" <td>25</td>\n",
" <td>1</td>\n",
" <td>2.8</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>209785</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>12</td>\n",
" <td>59</td>\n",
" <td>9</td>\n",
" <td>75</td>\n",
" <td>3</td>\n",
" <td>25</td>\n",
" <td>1</td>\n",
" <td>8.3</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>209786</th>\n",
" <td>84M478</td>\n",
" <td>Inwood Academy for Leadership Charter School</td>\n",
" <td>Secondary School</td>\n",
" <td>NaN</td>\n",
" <td>2015</td>\n",
" <td>78</td>\n",
" <td>55.1</td>\n",
" <td>52</td>\n",
" <td>66.7</td>\n",
" <td>26</td>\n",
" <td>33.3</td>\n",
" <td>5</td>\n",
" <td>6.4</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" School DBN School Name \\\n",
"18654 84M478 Inwood Academy for Leadership Charter School \n",
"52756 84M478 Inwood Academy for Leadership Charter School \n",
"52757 84M478 Inwood Academy for Leadership Charter School \n",
"100865 84M478 Inwood Academy for Leadership Charter School \n",
"100866 84M478 Inwood Academy for Leadership Charter School \n",
"100867 84M478 Inwood Academy for Leadership Charter School \n",
"138300 84M478 Inwood Academy for Leadership Charter School \n",
"138301 84M478 Inwood Academy for Leadership Charter School \n",
"209785 84M478 Inwood Academy for Leadership Charter School \n",
"209786 84M478 Inwood Academy for Leadership Charter School \n",
"\n",
" School Level Regents Exam Year Total Tested Mean Score \\\n",
"18654 Secondary School NaN 2015 90 55.6 \n",
"52756 Secondary School NaN 2015 81 55.9 \n",
"52757 Secondary School NaN 2015 9 53.4 \n",
"100865 Secondary School NaN 2015 5 s \n",
"100866 Secondary School NaN 2015 54 57.4 \n",
"100867 Secondary School NaN 2015 31 s \n",
"138300 Secondary School NaN 2015 54 57.3 \n",
"138301 Secondary School NaN 2015 36 53.2 \n",
"209785 Secondary School NaN 2015 12 59 \n",
"209786 Secondary School NaN 2015 78 55.1 \n",
"\n",
" Number Scoring Below 65 Percent Scoring Below 65 \\\n",
"18654 61 67.8 \n",
"52756 55 67.9 \n",
"52757 6 66.7 \n",
"100865 s s \n",
"100866 34 63 \n",
"100867 s s \n",
"138300 34 63 \n",
"138301 27 75 \n",
"209785 9 75 \n",
"209786 52 66.7 \n",
"\n",
" Number Scoring 65 or Above Percent Scoring 65 or Above \\\n",
"18654 29 32.2 \n",
"52756 26 32.1 \n",
"52757 3 33.3 \n",
"100865 s s \n",
"100866 20 37 \n",
"100867 s s \n",
"138300 20 37 \n",
"138301 9 25 \n",
"209785 3 25 \n",
"209786 26 33.3 \n",
"\n",
" Number Scoring 80 or Above Percent Scoring 80 or Above \\\n",
"18654 6 6.7 \n",
"52756 5 6.2 \n",
"52757 1 11.1 \n",
"100865 s s \n",
"100866 6 11.1 \n",
"100867 s s \n",
"138300 5 9.3 \n",
"138301 1 2.8 \n",
"209785 1 8.3 \n",
"209786 5 6.4 \n",
"\n",
" Number Scoring CR Percent Scoring CR \n",
"18654 0 0 \n",
"52756 0 0 \n",
"52757 0 0 \n",
"100865 na na \n",
"100866 0 0 \n",
"100867 na na \n",
"138300 0 0 \n",
"138301 0 0 \n",
"209785 0 0 \n",
"209786 0 0 "
]
},
"execution_count": 8,
2022-07-11 21:42:36 -04:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df[df['Regents Exam'].isna()]"
]
},
{
"cell_type": "code",
"execution_count": 9,
2022-07-11 21:42:36 -04:00
"id": "c9a49215",
"metadata": {},
"outputs": [],
"source": [
"# Cleaning the data\n",
"\n",
2022-07-15 16:22:57 -04:00
"# There are ten missing values in the 'Regents Exam' column. One school is responsible.\n",
"# We'll drop that school from the dataset\n",
2022-07-11 21:42:36 -04:00
"\n",
"df.dropna(inplace = True)"
]
},
{
"cell_type": "code",
"execution_count": 10,
2022-07-15 16:22:57 -04:00
"id": "738ee993",
2022-07-11 21:42:36 -04:00
"metadata": {},
2022-07-15 16:22:57 -04:00
"outputs": [],
2022-07-11 21:42:36 -04:00
"source": [
2022-07-15 16:22:57 -04:00
"# We're interested in two score columns. We'll drop the other columns.\n",
2022-07-11 21:42:36 -04:00
"\n",
2022-07-15 16:22:57 -04:00
"drop_cols = ['Number Scoring Below 65', 'Percent Scoring Below 65', 'Number Scoring 65 or Above', 'Percent Scoring 65 or Above', 'Number Scoring 80 or Above', 'Number Scoring CR', 'Percent Scoring CR']\n",
2022-07-11 21:42:36 -04:00
"\n",
2022-07-15 16:22:57 -04:00
"df.drop(drop_cols, axis = 1, inplace = True)"
2022-07-11 21:42:36 -04:00
]
},
{
"cell_type": "code",
"execution_count": 11,
2022-07-15 16:22:57 -04:00
"id": "258073d0",
2022-07-11 21:42:36 -04:00
"metadata": {},
"outputs": [
{
"data": {
2022-07-15 16:22:57 -04:00
"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>School DBN</th>\n",
" <th>School Name</th>\n",
" <th>School Level</th>\n",
" <th>Regents Exam</th>\n",
" <th>Year</th>\n",
" <th>Total Tested</th>\n",
" <th>Mean Score</th>\n",
" <th>Percent Scoring 80 or Above</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>01M034</td>\n",
" <td>P.S. 034 Franklin D. Roosevelt</td>\n",
" <td>K-8</td>\n",
" <td>Common Core Algebra</td>\n",
" <td>2017</td>\n",
" <td>4</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>01M034</td>\n",
" <td>P.S. 034 Franklin D. Roosevelt</td>\n",
" <td>K-8</td>\n",
" <td>Living Environment</td>\n",
" <td>2015</td>\n",
" <td>16</td>\n",
" <td>77.9</td>\n",
" <td>43.8</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>01M034</td>\n",
" <td>P.S. 034 Franklin D. Roosevelt</td>\n",
" <td>K-8</td>\n",
" <td>Living Environment</td>\n",
" <td>2016</td>\n",
" <td>9</td>\n",
" <td>74</td>\n",
" <td>22.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>01M140</td>\n",
" <td>P.S. 140 Nathan Straus</td>\n",
" <td>K-8</td>\n",
" <td>Common Core Algebra</td>\n",
" <td>2016</td>\n",
" <td>3</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>01M140</td>\n",
" <td>P.S. 140 Nathan Straus</td>\n",
" <td>K-8</td>\n",
" <td>Common Core Algebra</td>\n",
" <td>2017</td>\n",
" <td>2</td>\n",
" <td>s</td>\n",
" <td>s</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
2022-07-11 21:42:36 -04:00
"text/plain": [
2022-07-15 16:22:57 -04:00
" School DBN School Name School Level \\\n",
"0 01M034 P.S. 034 Franklin D. Roosevelt K-8 \n",
"1 01M034 P.S. 034 Franklin D. Roosevelt K-8 \n",
"2 01M034 P.S. 034 Franklin D. Roosevelt K-8 \n",
"3 01M140 P.S. 140 Nathan Straus K-8 \n",
"4 01M140 P.S. 140 Nathan Straus K-8 \n",
"\n",
" Regents Exam Year Total Tested Mean Score \\\n",
"0 Common Core Algebra 2017 4 s \n",
"1 Living Environment 2015 16 77.9 \n",
"2 Living Environment 2016 9 74 \n",
"3 Common Core Algebra 2016 3 s \n",
"4 Common Core Algebra 2017 2 s \n",
"\n",
" Percent Scoring 80 or Above \n",
"0 s \n",
"1 43.8 \n",
"2 22.2 \n",
"3 s \n",
"4 s "
2022-07-11 21:42:36 -04:00
]
},
"execution_count": 11,
2022-07-11 21:42:36 -04:00
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
2022-07-15 16:22:57 -04:00
"df.head()"
2022-07-11 21:42:36 -04:00
]
},
{
"cell_type": "code",
"execution_count": 12,
2022-07-15 16:22:57 -04:00
"id": "1f05cd97",
2022-07-11 21:42:36 -04:00
"metadata": {},
"outputs": [
{
2022-07-15 16:22:57 -04:00
"name": "stdout",
"output_type": "stream",
"text": [
"<class 'pandas.core.frame.DataFrame'>\n",
"Int64Index: 137101 entries, 1 to 212325\n",
"Data columns (total 8 columns):\n",
" # Column Non-Null Count Dtype \n",
"--- ------ -------------- ----- \n",
" 0 School DBN 137101 non-null object \n",
" 1 School Name 137101 non-null object \n",
" 2 School Level 137101 non-null object \n",
" 3 Regents Exam 137101 non-null object \n",
" 4 Year 137101 non-null int64 \n",
" 5 Total Tested 137101 non-null int64 \n",
" 6 Mean Score 137101 non-null float64\n",
" 7 Percent Scoring 80 or Above 137101 non-null float64\n",
"dtypes: float64(2), int64(2), object(4)\n",
"memory usage: 9.4+ MB\n"
]
2022-07-11 21:42:36 -04:00
}
],
"source": [
2022-07-15 16:22:57 -04:00
"# 'Mean Score' and 'Percent Scoring 80 or Above'\n",
"\n",
"# We expect integers or floats. Instead we have objects.\n",
"# Can we convert them to floats?\n",
"\n",
"# Yes, but first we have to deal with the non-numeric value 's'.\n",
"# We don't know what 's' means so let's make a subset\n",
"# then convert the scores to floats.\n",
"\n",
"df = df[df['Mean Score'] != 's']\n",
"df['Mean Score'] = pd.to_numeric(df['Mean Score'])\n",
"df = df[df['Percent Scoring 80 or Above'] != 's']\n",
2022-07-11 21:42:36 -04:00
"df['Percent Scoring 80 or Above'] = pd.to_numeric(df['Percent Scoring 80 or Above'])\n",
2022-07-15 16:22:57 -04:00
"df.info()"
2022-07-11 21:42:36 -04:00
]
},
{
"cell_type": "code",
"execution_count": 13,
2022-07-15 16:22:57 -04:00
"id": "f86ea927",
2022-07-11 21:42:36 -04:00
"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>School DBN</th>\n",
" <th>School Name</th>\n",
" <th>School Level</th>\n",
" <th>Regents Exam</th>\n",
" <th>Year</th>\n",
" <th>Total Tested</th>\n",
" <th>Mean Score</th>\n",
" <th>Percent Scoring 80 or Above</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>148870</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>English</td>\n",
" <td>2015</td>\n",
" <td>33</td>\n",
" <td>74.8</td>\n",
" <td>24.2</td>\n",
2022-07-15 16:22:57 -04:00
" </tr>\n",
" <tr>\n",
" <th>2224</th>\n",
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>English</td>\n",
2022-07-11 21:42:36 -04:00
" <td>2015</td>\n",
2022-07-15 16:22:57 -04:00
" <td>65</td>\n",
" <td>74.1</td>\n",
" <td>30.8</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>107118</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>English</td>\n",
" <td>2015</td>\n",
" <td>31</td>\n",
" <td>71.8</td>\n",
" <td>25.8</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>107117</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>English</td>\n",
" <td>2015</td>\n",
" <td>34</td>\n",
" <td>76.3</td>\n",
" <td>35.3</td>\n",
2022-07-15 16:22:57 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>148869</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>English</td>\n",
" <td>2015</td>\n",
" <td>25</td>\n",
" <td>75.3</td>\n",
" <td>40.0</td>\n",
2022-07-15 16:22:57 -04:00
" </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",
2022-07-11 21:42:36 -04:00
" <td>2015</td>\n",
2022-07-15 16:22:57 -04:00
" <td>49</td>\n",
" <td>73.3</td>\n",
" <td>26.5</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>148861</th>\n",
2022-07-15 16:22:57 -04:00
" <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",
2022-07-15 21:14:21 -04:00
" <td>22</td>\n",
" <td>75.4</td>\n",
" <td>36.4</td>\n",
" </tr>\n",
" <tr>\n",
" <th>148860</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>10</td>\n",
" <td>70.0</td>\n",
" <td>30.0</td>\n",
2022-07-15 16:22:57 -04:00
" </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",
2022-07-11 21:42:36 -04:00
" <td>2016</td>\n",
" <td>15</td>\n",
2022-07-15 16:22:57 -04:00
" <td>68.8</td>\n",
2022-07-11 21:42:36 -04:00
" <td>13.3</td>\n",
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>2222</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>Common Core English</td>\n",
2022-07-15 21:14:21 -04:00
" <td>2016</td>\n",
" <td>38</td>\n",
" <td>74.2</td>\n",
" <td>36.8</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>59854</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>Common Core English</td>\n",
2022-07-15 21:14:21 -04:00
" <td>2016</td>\n",
" <td>22</td>\n",
" <td>76.8</td>\n",
" <td>45.5</td>\n",
2022-07-15 16:22:57 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>23480</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>Common Core English</td>\n",
" <td>2016</td>\n",
" <td>8</td>\n",
" <td>71.9</td>\n",
" <td>25.0</td>\n",
2022-07-15 16:22:57 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>23479</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>Common Core English</td>\n",
" <td>2016</td>\n",
" <td>30</td>\n",
" <td>74.9</td>\n",
" <td>40.0</td>\n",
2022-07-15 16:22:57 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>107113</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>Common Core English</td>\n",
2022-07-11 21:42:36 -04:00
" <td>2016</td>\n",
2022-07-15 21:14:21 -04:00
" <td>23</td>\n",
" <td>77.8</td>\n",
" <td>52.2</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>59857</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>Common Core English</td>\n",
2022-07-15 21:14:21 -04:00
" <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",
2022-07-15 16:22:57 -04:00
" </tr>\n",
" <tr>\n",
" <th>148864</th>\n",
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>Common Core English</td>\n",
2022-07-11 21:42:36 -04:00
" <td>2017</td>\n",
" <td>6</td>\n",
2022-07-15 16:22:57 -04:00
" <td>76.7</td>\n",
" <td>50.0</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 16:22:57 -04:00
" <th>148865</th>\n",
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
" <td>Common Core English</td>\n",
2022-07-11 21:42:36 -04:00
" <td>2017</td>\n",
2022-07-15 16:22:57 -04:00
" <td>16</td>\n",
" <td>78.6</td>\n",
" <td>50.0</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 16:22:57 -04:00
" <th>148866</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>34</td>\n",
" <td>76.9</td>\n",
" <td>52.9</td>\n",
" </tr>\n",
" <tr>\n",
" <th>148867</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",
2022-07-11 21:42:36 -04:00
" <td>7</td>\n",
2022-07-15 16:22:57 -04:00
" <td>81.1</td>\n",
" <td>71.4</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" <tr>\n",
2022-07-15 21:14:21 -04:00
" <th>107115</th>\n",
2022-07-15 16:22:57 -04:00
" <td>02M605</td>\n",
" <td>Humanities Preparatory Academy</td>\n",
" <td>High school</td>\n",
2022-07-15 21:14:21 -04:00
" <td>Common Core English</td>\n",
" <td>2017</td>\n",
" <td>36</td>\n",
" <td>77.0</td>\n",
" <td>44.4</td>\n",
2022-07-11 21:42:36 -04:00
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" School DBN School Name School Level \\\n",
2022-07-15 21:14:21 -04:00
"148870 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 16:22:57 -04:00
"2224 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 21:14:21 -04:00
"107118 02M605 Humanities Preparatory Academy High school \n",
"107117 02M605 Humanities Preparatory Academy High school \n",
"148869 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 16:22:57 -04:00
"59860 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 21:14:21 -04:00
"148861 02M605 Humanities Preparatory Academy High school \n",
"148860 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 16:22:57 -04:00
"107114 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 21:14:21 -04:00
"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",
2022-07-15 16:22:57 -04:00
"107116 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 21:14:21 -04:00
"2223 02M605 Humanities Preparatory Academy High school \n",
2022-07-15 16:22:57 -04:00
"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",
2022-07-15 21:14:21 -04:00
"107115 02M605 Humanities Preparatory Academy High school \n",
2022-07-11 21:42:36 -04:00
"\n",
" Regents Exam Year Total Tested Mean Score \\\n",
2022-07-15 21:14:21 -04:00
"148870 English 2015 33 74.8 \n",
2022-07-15 16:22:57 -04:00
"2224 English 2015 65 74.1 \n",
2022-07-15 21:14:21 -04:00
"107118 English 2015 31 71.8 \n",
"107117 English 2015 34 76.3 \n",
"148869 English 2015 25 75.3 \n",
2022-07-15 16:22:57 -04:00
"59860 English 2015 49 73.3 \n",
2022-07-15 21:14:21 -04:00
"148861 Common Core English 2016 22 75.4 \n",
"148860 Common Core English 2016 10 70.0 \n",
2022-07-15 16:22:57 -04:00
"107114 Common Core English 2016 15 68.8 \n",
2022-07-15 21:14:21 -04:00
"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",
2022-07-15 16:22:57 -04:00
"107116 Common Core English 2017 27 78.9 \n",
2022-07-15 21:14:21 -04:00
"2223 Common Core English 2017 63 77.8 \n",
2022-07-15 16:22:57 -04:00
"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",
2022-07-15 21:14:21 -04:00
"107115 Common Core English 2017 36 77.0 \n",
2022-07-11 21:42:36 -04:00
"\n",
2022-07-15 16:22:57 -04:00
" Percent Scoring 80 or Above \n",
2022-07-15 21:14:21 -04:00
"148870 24.2 \n",
2022-07-15 16:22:57 -04:00
"2224 30.8 \n",
2022-07-15 21:14:21 -04:00
"107118 25.8 \n",
"107117 35.3 \n",
"148869 40.0 \n",
2022-07-15 16:22:57 -04:00
"59860 26.5 \n",
2022-07-15 21:14:21 -04:00
"148861 36.4 \n",
"148860 30.0 \n",
2022-07-15 16:22:57 -04:00
"107114 13.3 \n",
2022-07-15 21:14:21 -04:00
"2222 36.8 \n",
"59854 45.5 \n",
"23480 25.0 \n",
"23479 40.0 \n",
"107113 52.2 \n",
"59857 55.6 \n",
2022-07-15 16:22:57 -04:00
"107116 66.7 \n",
2022-07-15 21:14:21 -04:00
"2223 54.0 \n",
2022-07-15 16:22:57 -04:00
"148864 50.0 \n",
"148865 50.0 \n",
"148866 52.9 \n",
"148867 71.4 \n",
2022-07-15 21:14:21 -04:00
"107115 44.4 "
2022-07-15 16:22:57 -04:00
]
},
"execution_count": 13,
2022-07-15 16:22:57 -04:00
"metadata": {},
"output_type": "execute_result"
}
],
"