generated from mwc/project_argument
This session, I started working on my Argument
file. I added the introduction,and the data overview. I started the data analysis but I get a little frustrated with the way I have my data formatted and the way the indexing works with pandas. Ifigured out that I need to use 'loc' and/or 'ilock' for how I want to use my data. Tomorrow I will attempt to use these to start my analysis.
This commit is contained in:
176
argument.ipynb
176
argument.ipynb
@@ -13,7 +13,7 @@
|
||||
"id": "understanding-numbers",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"*✏️ Write 2-3 sentences describing your research.*"
|
||||
"*In my teaching residency placement, I have noticed that the students in my physics class lack the fundamental mathemetical and computational reasoning skills that they should have achieved by grade level. I have been hearing from veteran teachers that their cohorts who were in middle school during the pandemic are the most prominent victims of this situation. I want to compare the Algebra I Regents performance of cohorts that were 8th graders before, during and after the COVID-19 pandemic. I chose the anchoring grade level as 8th grade because traditional this is when the students should have been learned and practiced their fundamentals of algebra*"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -42,39 +42,145 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 4,
|
||||
"id": "technical-evans",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#Include any import statements you will need\n",
|
||||
"import numpy as np\n",
|
||||
"import math\n",
|
||||
"import statistics\n",
|
||||
"import csv\n",
|
||||
"import pandas as pd\n",
|
||||
"import matplotlib.pyplot as plt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 5,
|
||||
"id": "overhead-sigma",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"### 💻 FILL IN YOUR DATASET FILE NAME BELOW 💻 ###\n",
|
||||
"\n",
|
||||
"file_name = \"YOUR_DATASET_FILE_NAME.csv\"\n",
|
||||
"dataset_path = \"data/\" + file_name\n",
|
||||
"\n",
|
||||
"algebra = \"algebra.csv\"\n",
|
||||
"dataset_path = \"data/\" + algebra\n",
|
||||
"\n",
|
||||
"df = pd.read_csv(dataset_path)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 10,
|
||||
"id": "heated-blade",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"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>2023</th>\n",
|
||||
" <th>2022</th>\n",
|
||||
" <th>2021</th>\n",
|
||||
" <th>2020</th>\n",
|
||||
" <th>2018</th>\n",
|
||||
" <th>2017</th>\n",
|
||||
" </tr>\n",
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>0</th>\n",
|
||||
" <td>164</td>\n",
|
||||
" <td>264</td>\n",
|
||||
" <td>137</td>\n",
|
||||
" <td>41</td>\n",
|
||||
" <td>218</td>\n",
|
||||
" <td>256</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>1</th>\n",
|
||||
" <td>26</td>\n",
|
||||
" <td>60</td>\n",
|
||||
" <td>27</td>\n",
|
||||
" <td>21</td>\n",
|
||||
" <td>23</td>\n",
|
||||
" <td>23</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>2</th>\n",
|
||||
" <td>26</td>\n",
|
||||
" <td>51</td>\n",
|
||||
" <td>19</td>\n",
|
||||
" <td>10</td>\n",
|
||||
" <td>40</td>\n",
|
||||
" <td>51</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>3</th>\n",
|
||||
" <td>68</td>\n",
|
||||
" <td>112</td>\n",
|
||||
" <td>67</td>\n",
|
||||
" <td>10</td>\n",
|
||||
" <td>102</td>\n",
|
||||
" <td>130</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>4</th>\n",
|
||||
" <td>37</td>\n",
|
||||
" <td>20</td>\n",
|
||||
" <td>20</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" <td>35</td>\n",
|
||||
" <td>35</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>5</th>\n",
|
||||
" <td>7</td>\n",
|
||||
" <td>21</td>\n",
|
||||
" <td>4</td>\n",
|
||||
" <td>0</td>\n",
|
||||
" <td>18</td>\n",
|
||||
" <td>17</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
"</div>"
|
||||
],
|
||||
"text/plain": [
|
||||
" 2023 2022 2021 2020 2018 2017\n",
|
||||
"0 164 264 137 41 218 256\n",
|
||||
"1 26 60 27 21 23 23\n",
|
||||
"2 26 51 19 10 40 51\n",
|
||||
"3 68 112 67 10 102 130\n",
|
||||
"4 37 20 20 0 35 35\n",
|
||||
"5 7 21 4 0 18 17"
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"df.head()"
|
||||
"df.head(6)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -84,7 +190,22 @@
|
||||
"source": [
|
||||
"**Data Overview**\n",
|
||||
"\n",
|
||||
"*✏️ Write 2-3 sentences describing this dataset. Be sure to include where the data comes from and what it contains.*"
|
||||
"*The data is taken from NYSED website. It is pulled from Cheektowaga High School's recent and archival 'School Report Card(s)' The school report cards can contain very detailed information, but the website allows the users to sort what they need. In this case, the school report card was generated on the NYSED website to present the annual Regents examinations. From these examinations, I handpicked relevant data for the Algebra examination. \n",
|
||||
"\n",
|
||||
"The header row reperesents the **year** of the examination. Since Algebra one is the fundamental math examination in the Regents standards, we will make the assumption that the year also represents the high school enterance cohort year for *most, if not all* of the students.\n",
|
||||
"- The first two cohorts (2023 & 2022) are considered as post-COVID-19 cohorts as they were introduced to fundamentals of Algebra in 8th grade, a year prior to their cohort entry as tabulated.\n",
|
||||
"- The following two cohorts (2021 & 2020) are considered to be the COVID-19 cohorts, as they were in 8th grade *during* the pandemic years.\n",
|
||||
"- The last two cohorts (2018 & 2017) are considered to be the pre-COVID-19 cohorts. \n",
|
||||
"\n",
|
||||
"The 0th data row represents the **total number of students who took the Algebra Regents**.\\\n",
|
||||
"The 1st data row represents the **number of students who performed at Level 1 (lowest level).**\\\n",
|
||||
"The 2nd data row represents the **number of students who performed at Level 2.**\\\n",
|
||||
"The 3rd data row represents the **number of students who performed at Level 3.**\\\n",
|
||||
"The 4th data row represents the **number of students who performed at Level 4.**\\\n",
|
||||
"The 5th data row represents the **number of students who performed at Level 5 (highest level).**\n",
|
||||
"\n",
|
||||
"*Regents defines proficiency in Algebra as performed at Level 3 or above*. This categorization will inform our data analysis. \n",
|
||||
"*"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -101,16 +222,15 @@
|
||||
"id": "basic-canadian",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#Import any helper files you need here"
|
||||
]
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "recognized-positive",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## First Research Question: [✏️ PUT YOUR QUESTION HERE ✏️]\n"
|
||||
"## First Research Question:\n",
|
||||
"## How has COVID-19 pandemic impacted student's matehmetical skills?: Exploring the high school Algebra Regents examination performance of post, during and pre COVID-19 middle schoolers.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -145,16 +265,26 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 17,
|
||||
"execution_count": 18,
|
||||
"id": "negative-highlight",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"0 180.000000\n",
|
||||
"1 30.000000\n",
|
||||
"2 32.833333\n",
|
||||
"3 81.500000\n",
|
||||
"4 24.500000\n",
|
||||
"5 11.166667\n",
|
||||
"dtype: float64\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"#######################################################################\n",
|
||||
"### 💻 YOUR WORK GOES HERE TO ANSWER THE FIRST RESEARCH QUESTION 💻 \n",
|
||||
"### \n",
|
||||
"### Your data analysis may include a statistic and/or a data visualization\n",
|
||||
"#######################################################################"
|
||||
"avg_per_level"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -310,7 +440,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
"version": "3.12.3"
|
||||
},
|
||||
"toc": {
|
||||
"base_numbering": 1,
|
||||
|
||||
Reference in New Issue
Block a user