{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "

\"FT

\n", "

Saint Paul 2019 City Council Election Voting Workbook; 07/31/19

\n", "

By Frogtown Crusader (Abu Nayeem)

" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Table of contents \n", "\n", "Note: The Elementary School groups are arranged in the following order; it id displayed right under the table of contents\n", "\n", "* [Brief Introduction](#intro)\n", "* [About Saint Paul Open Data Initiative](#opendata)\n", "* [About Me: Personal Opinion of an Education Data Analyst](#analyst)\n", "* [Reader Note](#reader)\n", "* [Section I: Data Analysis](#sect1)\n", " * [About Data](#aboutdata)\n", " * [Data Assumptions](#data_assumption)\n", " * [Voter Age Demographics](#demo)\n", " * [Voting Trends](#trend)\n", " * [Youth/ Ward Votes](#youth)\n", " * [Precinct Analysis: Fragmentation](#precinct)\n", " * [Group 1](#elem1)\n", " * [Group 2](#elem2)\n", " * [Group 3](#elem3)\n", " * [Group 4](#elem4)\n", " * [Group 5](#elem5)\n", " * [Group 6](#elem6)\n", " * [Group 7](#elem7)\n", " * [Group 8](#elem6)\n", " * [Group 9](#elem7)\n", " \n", "* [Run Code](#code)\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "![title](Graphs/ElemGroup.png)\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Brief Introduction \n", "\n", "In this report, I will be primarily using state assessment data obtained from the Minnesota Department of Education (MDE) to assess how Saint Paul Public Schools (SPPS) is performing respect to the state, and identify achievement gaps and larger trends. Due to data privacy restriction, this is a diagnostic/exploratory report and not an instructional report, which should be provided by the SPPS district. \n", "\n", "Prior to writing this report, I have looked through the SPPS website, and even though they have a meager sized Research, Evaluation, and Assessment (REA) department, I found that most of the material assessing state testing was inadequate and/or not updated. There is no documents that can help citizens understand what is happening in the school district as a whole and with individual schools. To their defense, as a former employee at an REA department, it is **strongly discouraged** for qualified staff to share information to the general public. There may be some concerns of data privacy; though the primary concerns is that with greater transparency, there is more accountability and scrutiny toward upper management by educators, parents, and residents alike. The dilemma mentioned above is the perfect example on why an Open Data Initiative is strongly encouraged for any city/township. It can be used to inform the public, hold the district accountable, more objective analysis, and not subjected by the influence/responsibility of working with an institution. \n", "\n", "The report is primarily structured as the following:\n", "1) A broad overview of Minnesota standardized testing data to understand general state trends and the report itself\n", "2) A district level breakdown for all subject matter; including several achievement gaps.\n", "3) District level proficiency Maps with ranking based on Demographics [Excludes high school]\n", "4) Conclusion\n", "5) Supplement Reports: Individual school demographics/ assessment data broken down by grade. In addition, the schools groups are paired by proximity to percentage of students that receive free and/or reduced lunch.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Saint Paul Open Data Initiative \n", "\n", "This initiative focuses on taking public information/data from municipalities and organizations to create interactive reports and analysis to better inform and assist community members to take action. This is an open-source project meaning that all coding is accessible to everyone, and thus there is transparency on the results. It is currently all python-based. As always, I encourage other programmers and developers to participate in making this more accessible. You can learn more information on the project [Github](https://github.com/sustainabu/OpenData_Saint_Paul) page as well as accessing documents. The supporting data workbook for this report can be accessed [here]()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## About Me: Opinion from a former Education Data Analyst \n", "\n", "In 2015, I was the Education Data Analyst for South Washington County Schools for over two years, and it was the third largest school district in the state. I have some knowledge on assessment and standardized testing, and in my personal opinion MDE places too much emphasis on standardized testing. I can list several reasons on how standardized testing is inequitable and how the state evaluation methods is systematically unjust, though it can still be a valuable tool. State testing matters as it can influence people's decision in choosing schools, determine how state funding and resources are distributed, and can place additional burden on educators. For this reason, it is worth informing you about the trends in Saint Paul Public Schools. I'll be replicating some of the diagnostic reports that I have implemented in the past for South Washington County schools. Sadly, my analysis will only provides a **static picture** of student assessment, which is not conducive is creating proactive change, and better accountability tools. I'll share some of my recommendations.\n", "\n", "Here are several things to keep in mind when processing the data as it may be alarming and encourage the reader to be curious:\n", "\n", "* How can we address the challenges right NOW? Investing only on early childhood programs (albeit easier to do) does not address the systemic challenges now? \n", "* If standardized testing is not working for our city/communities, what are some existing alternatives? Or do we create, inclusively, a different curriculum/ academic standard that is aligned to community needs\n", "* How does charter schools influence SPPS? (I will not evaluate this)\n", "* What is the role of citizens in influencing SPPS policies, and state/federal policies?\n", "* What is the role of parents/students influencing SPPS?\n", "* What do local educators have to say about this?\n", "* Where are we spending our money, and how do we spend it on things that matter?\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## About the Data \n", "\n", "The primary datasets are retrieved from MDE Data Center [Data Reporting Web Portal](https://public.education.mn.gov/MDEAnalytics/DataTopic.jsp?TOPICID=1) I selected the following specifications \"All accountability tests, which lists the three files for each respective subjects: Math, Reading, and Science. These reports combine both the Minnesota Comprehensive Assessment (MCA) and Minnesota Test of Academic Skills (MTAS). The MCA is the standardized test of Minnesota and has to follow both federal and state guidelines. The MTAS is an alternate assessment based on alternate achievement standards for students with the most significant cognitive disabilities. The subject testing grade breakdown is below, notice Science MCA is given in staggered years, and high school testing for all subjects has a gap from 8th grade. \n", "\n", "![title](Graphs/TestSubjects.png)\n", "\n", "Personally, I would not give much weight on the high school tests because it is not mandatory to pass to graduate high school, and high schoolers will place more effort on college entrance examinations such as the American College Testing (ACT). On the SPPS website, you can view the ACT results through an [interactive report.](https://www.spps.org/Page/28069) The testing itself is evaluated into four categories: Does Not Meet, Partially Meet, Meet, and Exceed Standards. Proficiency is the percentage of Meet and Exceed standard students. This analysis with only be concerned with Proficiency. Upon recently, parents and students can option out from taking the MCA (this may have some consequences). The [Enrollment dataset](https://public.education.mn.gov/MDEAnalytics/DataTopic.jsp?TOPICID=2) is also from the MDE website. Enrollment is taken at October 1st. \n", "\n", "Furthermore, the state of Minnesota is concerned with several achievement gaps, the achievement gaps categories are below with the areas of interest highlighted. \n", "\n", "![title](Graphs/AchivementGapsList.png)\n", "\n", "For SPED and ELL standardized testing might not be the best metric for progress, and doesn't m. It's worth nothing that Minnesota performs fairly well in standardized testing among other states; however it has a large racial equity gap (White vs Black) in academic testing performance ranging within the bottom five states. I will go over this under the in-depth achievement gap section. \n", "\n", "**Interpretation Disclaimer:** The MCA data only provides a **static picture** of student assessment, and does not consider the respective cohorts. We can use the state trend to determine if SPPS is considerably different compared to the peers.\n", "\n", "### Saint Paul Public School District Data\n", "\n", "Saint Paul Public Schools (SPPS) is the largest school district, based on total enrollment, in Minnesota with 36,844 students enrolled and with over 44 elementary schools, 6 intermediate schools, and 5 high schools. This is roughly 4.14% of total enrollment of the entire state, while Minneapolis has 4% enrollment. Due to the vast number of schools, and inadequate software it is hard to evaluate the individual schools in respect to achievement gaps. I will be comparing SPSS district data with state data, and the Minneapolis Public Schools (MPS). Note: The participation rate for MPS is around 91.3% and for Saint Paul it is 96.3%, which is near the state participation rate. The enrollment data is below. Notice there is more black and white students in Minneapolis, while there is more asian students and ELL students in Saint Paul. In comparison to state level, there is more poverty and people of color (POC) in the twin-cities.\n", "\n", "![title](Graphs/DisEnroll.png)\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Saint Paul District Analysis" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Standardized Testing Math \n", "\n", "**NOTE**: there is no Math MCA testing for 9th and 10th grade. \n", "\n", "### Proficiency\n", "\n", "![title](Graphs/M_Prof.png)\n", "\n", "From the data, we see there is a steep decline in proficiency in 5th-6th grade, and at high school. It is hard for students to transition into middle school as instruction and environment is different. Both MPS and SPPS is far below the state average. At 11th grade, MPS and SPPS intersect, and this is more likely to do with the participation rate of each district. For SPPS, the participation rate is 76.8%, for MPS its 46.4%, and for state it's 88%. The discussion around high school testing is that well-off students are more likely not to take the exam, negatively impacting overall efficiency\n", "\n", "### Gender Gap\n", "\n", "![title](Graphs/M_Gender.png)\n", "\n", "The stereotype is that boys are better in math than girls, as the graphs show that they are fairly equal (though research have shown that boys assessment has more fatter tails, where as there is greater concentration of boys that excel in math and boys that do poorly in math.) Girls do better than boys by 8th grade.\n", "\n", "### Racial Gap\n", "\n", "![title](Graphs/M_Racial1.jpg)\n", "\n", "I've created the category of people of color (POC) to capture all non-White people. I've color coded the endpoints to make the comparison easier to spot visually. First, we find that white student perform better than state average, and there is no gap between the state and SPSS. In comparison, the other racial groups are below the state proficiency, and the gap between the state and SPSS is steady at 10% points. By 8th grade, in SPPS, white students perform 50% points greater than black students.\n", "\n", "### Economic Gap\n", "\n", "![title](Graphs/M_Economic.png)\n", "\n", "As expected, students with less economic burden will be more proficient than their counterparts. For SPPS NonFRPL students, they perform as good as the state average. Lower income students in SPSS have lower proficiency rates compared to state counterparts, though the gap declined from 15% to 10% at 8th grade.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Standardized Testing Reading \n", "\n", "**NOTE**: there is no MCA Reading testing for 9th grade. \n", "\n", "### Proficiency\n", "\n", "![title](Graphs/R_Prof.png)\n", "\n", "Don't let the scale trick you. SPPS is roughly 20% points less than the state average up to 8th grade, and 15% at 10th grade. Interestingly, MPS continued to decline proficiency from 7th grade to 10th grade with SPPS doing better at 10th grade. For SPPS, the participation rate is 86.9%, for MPS its 52.9%, and for state it's 88%. The drop in proficiency for MPS at 19th grade might be due to low participation rate.\n", "\n", "\n", "### Gender Gap\n", "\n", "![title](Graphs/R_Gender.png)\n", "\n", "The stereotype is that girls are better in reading than boys, which is confirmed by the graph. At the state level, the gender gap expands being around 15% at 8th grade. From 7th to 8th grade, proficiency of boys declined, while for girls it has increased. On other hand, for SPPS boys proficiency has increased at from 7th to 8th grade with a difference around 5% points.\n", "\n", "### Racial Gap\n", "\n", "![title](Graphs/R_Racial1.jpg)\n", "\n", "I've color coded the endpoints to make the comparison easier to spot visually. First, we find that white student perform better than state average, and SPPS white students **perform 10% points greater** than the state by 8th grade on an upward trend. In comparison, the other racial groups are below the state proficiency, and the gap between the state and SPSS is steady at 10% points. By 8th grade, in SPPS, white students perform 50% points greater than black students, same as mathematics.\n", "\n", "### Economic Gap\n", "\n", "![title](Graphs/R_Economic.png)\n", "\n", "As expected, students with less economic burden will be more proficient than their counterparts. For SPPS NonFRPL students, they perform better than the state average, but less than their state counterparts. Lower income students in SPPS have lower proficiency rates compared to state counterparts, though the gap declined from 13% to 10% at 8th grade.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Standardized Testing Science \n", "\n", "**NOTE**: there is MCA Science testing for 5th, 8th, and anytime within high school \n", "\n", "### Proficiency\n", "\n", "![title](Graphs/S_Prof.png)\n", "\n", "From 5th to 8th grade, MPS and state scores sharply declined in proficiency. SPPS is roughly 18% points less than the state average at 8th grade and at high school level. Interestingly, MPS stagnated from 8th grade to high school level with SPPS doing better. For SPPS, the participation rate is 78.2%, for MPS its 41.7%, and for state it's 87.3%. The drop in proficiency for MPS at the high school level might be due to low participation rate.\n", "\n", "\n", "### Gender Gap\n", "\n", "![title](Graphs/S_Gender.png)\n", "\n", "At the state level, the slight gender gap closes by high school. While SPPS, the gender gap expands with boys performing 4% points better than girls. At the state level, the gender gap expands being around 15% at 8th grade. From 7th to 8th grade, proficiency of boys declined, while for girls it has increased. On other hand, for SPPS boys proficiency has increased at from 7th to 8th grade with a difference around 5% points.\n", "\n", "### Racial Gap\n", "\n", "![title](Graphs/S_Racial1.jpg)\n", "\n", "I've color coded the endpoints to make the comparison easier to spot visually. First, we find that white student perform better than state average, and SPPS white students **perform 10% points greater** than the state by 8th grade and 5% by high school level. In comparison, the other racial groups are below the state proficiency, and the gap between the state and SPPS is steady at 5-8% points. At high school level, in SPPS, white students perform 50% points greater than black students, which is true for all the other subjects.\n", "\n", "### Economic Gap\n", "\n", "![title](Graphs/S_Economic.png)\n", "\n", "As expected, students with less economic burden will be more proficient than their counterparts. For SPPS NonFRPL students, they perform at the state average, but less than their state counterparts by around 5% points. Lower income students in SPPS have lower proficiency rates compared to state counterparts, though the gap declined from 15% to 10% at the high school level.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# District-Wide Interactive Maps on Achievement Gaps \n", "\n", "**Note:** For all maps, the schools, L'Etoile Du Nord French Immersion U and Mississippi Creative Arts Elementary was excluded because it caused the map software to crash. Also high schoolers were excluded entirely.\n", "\n", "**Data Methodology:** For this analysis, I aggregated the total proficiency for each elementary to middle school. The demographic percentages is based on the students that have taken a standardized exam. The percentage of students in a category has become the normalized scale. The scale is the same for all achievement gap groups to assure to visually see the difference in individual school make-up. In addition, I created **ranking system** to help distinguish performance for each school. The basic approach was to district average as the mid-point of school performance, and there is bandwidth for each category. The bandwidths were determined arbritarily to get some variation. The ranking specifications and their respective color identifications on shading is below.\n", "\n", "![title](Graphs/CategoryRank.png)\n", "\n", "The maps are displayed by the same subject matter to make it easier for the viewer to read the data and see the impact of demographic variation.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## SPPS Interactive Maps: Math \n", "\n", "### Achievement Gap White" ] }, { "cell_type": "code", "execution_count": 258, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized White%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 258, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_White()" ] }, { "cell_type": "code", "execution_count": 259, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized Black%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 259, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_Black()" ] }, { "cell_type": "code", "execution_count": 260, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized Asian%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 260, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_Asian()" ] }, { "cell_type": "code", "execution_count": 261, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized ELL%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 261, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_ELL()" ] }, { "cell_type": "code", "execution_count": 265, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized SPED%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 265, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_SPED()" ] }, { "cell_type": "code", "execution_count": 263, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized FRPL%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 263, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_FRPL()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## SPPS Interactive Maps: Reading \n", "\n", "### Achievement Gap White" ] }, { "cell_type": "code", "execution_count": 266, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Reading Proficiency under normalized White%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 266, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_White(\"Reading\")" ] }, { "cell_type": "code", "execution_count": 267, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Reading Proficiency under normalized Black%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 267, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_Black(\"Reading\")" ] }, { "cell_type": "code", "execution_count": 268, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Reading Proficiency under normalized Asian%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 268, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_Asian(\"Reading\")" ] }, { "cell_type": "code", "execution_count": 269, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Reading Proficiency under normalized ELL%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 269, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_ELL(\"Reading\")" ] }, { "cell_type": "code", "execution_count": 270, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Reading Proficiency under normalized SPED%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 270, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_SPED(\"Reading\")" ] }, { "cell_type": "code", "execution_count": 271, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Reading Proficiency under normalized FRPL%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 271, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_FRPL(\"Reading\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## SPPS Interactive Maps: Science \n", "\n", "### Achievement Gap White" ] }, { "cell_type": "code", "execution_count": 281, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Science Proficiency under normalized White%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 281, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_White(\"Science\")" ] }, { "cell_type": "code", "execution_count": 279, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Science Proficiency under normalized Black%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 279, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_Black('Science')" ] }, { "cell_type": "code", "execution_count": 276, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Science Proficiency under normalized Asian%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 276, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_Asian(\"Science\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "plot_School_ELL(\"Science\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "plot_School_SPED(\"Science\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "plot_School_FRPL(\"Science\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Advanced Demographic Breakdown " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ " ## Homeless Students \n", "\n", "In Saint Paul, there is over 643 homeless students, and it makes up around 8% of the homeless student population in the state. According to the numbers tested for Reading, around 61% of the homeless student population is Black. The following map below show the schools with highest number of homeless. **Note:** the map is interactive, clicking on the circle will display the school and other information. " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## In-Dept Achievement Gap Analysis \n", "\n", "With all these different achievement gaps, how do we address closing these inequities, and which factors matter the most, is it race, gender, and/or income status. From the earlier graphs above, for SPPS there is 50% points between white and black students across all subject testings, but for economic it's around 30% points. However, several Minnesota researchers stated that poverty (FRPL designation) has the greatest influence on state proficiency. This might not be too intuitive at first to many. The simple explanation is that poverty is highly correlated with race in SPPS; i.e. most black students are in the FRPL category in comparison to their counterparts. To highlight this, I break down the sub category demographics in respect to race and poverty for the state level and SPPS district for MCA Reading testing. The data was manually entered through the [Minnesota Report Card](https://rc.education.mn.gov/#assessmentsParticipation/orgId--10625000000__groupType--district__test--allAccount__subject--S__accountabilityFlg--FOC_NONE__year--2019__grade--HS__p--1e7) Note: I did not include MPS because of the low participation rate. First, let's explore the state-level data. Also the data is restricted from 3rd to 8th Grade and 10th Grade.\n", "\n", "![title](Graphs/StateRaceEconomic1.png)\n", "\n", "This is a bit confusing to read so let's break down the first row. For the Exceed proficiency, 3,429 black students achieved this with 2,196 students having FRPL status, which makes 64.04% of the group. In comparison, only 11.60% of White students that are in the Exceed category have FRPL status. In the \"Total row\", **for the state 82% of all black students are receiving FRPL status**, with 22% for white students and nearly 50% of Asian students. The last row shows the proficiency percentage for each category with the shaded cell indicating the gap between proficiency. For example, for all black students, 34.68% were proficient and for black FRPL students 30.91% were proficient, which is a gap around 3.7%. The gap is smaller compared to other groups because majority of black students have FRPL status, though black students in the nonFRPL category do not have considerably high proficiency rate. Notice, that for both for white and asian students the gap is higher though notice proficiency difference between Asian students of income status, non-FRPL students do considerably better. The SPPS picture looks quite different.\n", "\n", "![title](Graphs/SPRaceEconomic.png)\n", "\n", "For Saint Paul, the percentage of black students with FRPL status is even higher at 85.66% with a respective 2% gap. Though student proficiency is lower than compared to non-urban counterparts. For white NonFRPL students, they perform better than their state counterparts because most of the state is rural which consist primarily of white people and there are wealthy white families in Saint Paul. Thus the White_FRPL proficiency gap is even larger than compared to the state. In Saint Paul, **around 80% of asian students have FRPL status** and have respectfully a small proficiency gap. Notice the Asian_NonFRPL students do not perform as well their out of city counterparts. This could possibly be explained that new immigrant communities leave Saint Paul when they get more wealth, and there is a population of highly skilled professionals in the suburbs. In this table, there is an additional row, \"% of State\", which indicates the percentage of the total population that lives in Saint Paul. For example, 9.42% of all black students live in Saint Paul. Likewise, only 1.2% of white students live in Saint Paul. For Asian students, Saint Paul comprises 17% of the total population and around 27% of FRPL students. In addition, notice that Asian_NonFRPL only consist around 7% of the population, suggesting that wealthier asians do not live in Saint Paul.\n", "\n", "\n", "In summary, we see how prevalent poverty is in SPSS, though even controlling for FRPL status, achievement gaps still exist across racial lines. In the next section, I will be displaying the summary proficiency results of the elementary and middle schools. \n", "\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Elementary Schools: District/State Level by Grade \n", "\n", "I will be splitting the elementary schools into four and five schools each sorted by increasing FRPL population. It is expected that the first group will perform better than the last group. I've designed it this way, so the audience can compare the assessments of similar schools.\n", "\n", "![title](Graphs/ElemGroup.png)\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
161Sp_District_All0.03.00.35250.68910.25580.22700.32810.37680.21620.6019
162Sp_District_All0.04.00.34630.70380.25470.19750.32930.36460.22670.5962
163Sp_District_All0.05.00.46580.77250.38330.30720.42590.50660.34070.7223
168Mpls_District_All0.03.00.45870.75780.27520.24070.43180.48710.24080.7355
169Mpls_District_All0.04.00.43980.78560.25240.21810.42610.45510.22960.7315
170Mpls_District_All0.05.00.53350.86560.33700.30160.49440.57010.32510.8199
175State_All0.03.00.54610.63660.38470.32420.51630.57710.35550.6720
176State_All0.04.00.55430.65340.38050.30720.52570.58460.35680.6860
177State_All0.05.00.65770.74920.49190.41790.62630.69030.47410.7798
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "161 Sp_District_All 0.0 3.0 0.3525 0.6891 0.2558 0.2270 \n", "162 Sp_District_All 0.0 4.0 0.3463 0.7038 0.2547 0.1975 \n", "163 Sp_District_All 0.0 5.0 0.4658 0.7725 0.3833 0.3072 \n", "168 Mpls_District_All 0.0 3.0 0.4587 0.7578 0.2752 0.2407 \n", "169 Mpls_District_All 0.0 4.0 0.4398 0.7856 0.2524 0.2181 \n", "170 Mpls_District_All 0.0 5.0 0.5335 0.8656 0.3370 0.3016 \n", "175 State_All 0.0 3.0 0.5461 0.6366 0.3847 0.3242 \n", "176 State_All 0.0 4.0 0.5543 0.6534 0.3805 0.3072 \n", "177 State_All 0.0 5.0 0.6577 0.7492 0.4919 0.4179 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "161 0.3281 0.3768 0.2162 0.6019 \n", "162 0.3293 0.3646 0.2267 0.5962 \n", "163 0.4259 0.5066 0.3407 0.7223 \n", "168 0.4318 0.4871 0.2408 0.7355 \n", "169 0.4261 0.4551 0.2296 0.7315 \n", "170 0.4944 0.5701 0.3251 0.8199 \n", "175 0.5163 0.5771 0.3555 0.6720 \n", "176 0.5257 0.5846 0.3568 0.6860 \n", "177 0.6263 0.6903 0.4741 0.7798 " ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num==0 and Grade in (3,4,5)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
161Sp_District_All0.03.00.39660.72510.30210.24860.42680.36640.26250.6425
162Sp_District_All0.04.00.39030.72270.30460.22590.39930.38040.27900.6229
163Sp_District_All0.05.00.31270.60740.23320.14320.31530.31000.20700.5296
168Mpls_District_All0.03.00.51810.81950.33290.28490.53260.50280.29800.7967
169Mpls_District_All0.04.00.48200.81220.30320.25850.51020.45060.27050.7737
170Mpls_District_All0.05.00.40300.74660.19790.15300.41080.39560.18120.7047
175State_All0.03.00.65600.76120.46800.38490.67960.63140.45180.7905
176State_All0.04.00.63870.74650.44920.34990.65300.62350.43230.7762
177State_All0.05.00.52040.61580.34750.25800.52970.51070.32060.6532
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "161 Sp_District_All 0.0 3.0 0.3966 0.7251 0.3021 0.2486 \n", "162 Sp_District_All 0.0 4.0 0.3903 0.7227 0.3046 0.2259 \n", "163 Sp_District_All 0.0 5.0 0.3127 0.6074 0.2332 0.1432 \n", "168 Mpls_District_All 0.0 3.0 0.5181 0.8195 0.3329 0.2849 \n", "169 Mpls_District_All 0.0 4.0 0.4820 0.8122 0.3032 0.2585 \n", "170 Mpls_District_All 0.0 5.0 0.4030 0.7466 0.1979 0.1530 \n", "175 State_All 0.0 3.0 0.6560 0.7612 0.4680 0.3849 \n", "176 State_All 0.0 4.0 0.6387 0.7465 0.4492 0.3499 \n", "177 State_All 0.0 5.0 0.5204 0.6158 0.3475 0.2580 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "161 0.4268 0.3664 0.2625 0.6425 \n", "162 0.3993 0.3804 0.2790 0.6229 \n", "163 0.3153 0.3100 0.2070 0.5296 \n", "168 0.5326 0.5028 0.2980 0.7967 \n", "169 0.5102 0.4506 0.2705 0.7737 \n", "170 0.4108 0.3956 0.1812 0.7047 \n", "175 0.6796 0.6314 0.4518 0.7905 \n", "176 0.6530 0.6235 0.4323 0.7762 \n", "177 0.5297 0.5107 0.3206 0.6532 " ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num==0 and Grade in (3,4,5)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
57Sp_District_All0.050.29820.65590.20180.13970.29620.30020.17130.5565
60Mpls_District_All0.050.40830.77590.18850.14370.41930.39800.18100.7172
63State_All0.050.54900.66390.34060.24260.56260.53480.34220.6862
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "57 Sp_District_All 0.0 5 0.2982 0.6559 0.2018 0.1397 \n", "60 Mpls_District_All 0.0 5 0.4083 0.7759 0.1885 0.1437 \n", "63 State_All 0.0 5 0.5490 0.6639 0.3406 0.2426 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "57 0.2962 0.3002 0.1713 0.5565 \n", "60 0.4193 0.3980 0.1810 0.7172 \n", "63 0.5626 0.5348 0.3422 0.6862 " ] }, "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num==0 and Grade==\"5\"')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 1\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 162, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
29462.0L'Etoile Du Nord French Immersion U304.039.8053.6219.413.6230.26%12.50%4.61%0.00%
37483.0Jie Ming Mandarin Immersion Academy293.047.1030.038.1931.0625.60%26.62%3.07%0.00%
46518.0Horace Mann School432.049.0766.9013.193.4721.53%9.03%9.95%0.46%
53545.0Randolph Heights Elementary447.051.6864.6513.206.2628.41%12.30%5.15%0.45%
56557.0St. Anthony Park Elementary515.050.8760.9711.4611.0725.44%16.50%9.51%0.00%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "29 462.0 L'Etoile Du Nord French Immersion U 304.0 39.80 53.62 \n", "37 483.0 Jie Ming Mandarin Immersion Academy 293.0 47.10 30.03 \n", "46 518.0 Horace Mann School 432.0 49.07 66.90 \n", "53 545.0 Randolph Heights Elementary 447.0 51.68 64.65 \n", "56 557.0 St. Anthony Park Elementary 515.0 50.87 60.97 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "29 19.41 3.62 30.26% 12.50% 4.61% 0.00% \n", "37 8.19 31.06 25.60% 26.62% 3.07% 0.00% \n", "46 13.19 3.47 21.53% 9.03% 9.95% 0.46% \n", "53 13.20 6.26 28.41% 12.30% 5.15% 0.45% \n", "56 11.46 11.07 25.44% 16.50% 9.51% 0.00% " ] }, "execution_count": 162, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (518,557,483,545,462)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem1.png)" ] }, { "cell_type": "code", "execution_count": 20, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
38L'Etoile Du Nord French Immersion U462.03.00.62300.78570.48480.69230.65220.60530.42860.6809
39L'Etoile Du Nord French Immersion U462.04.00.62300.85710.30770.33330.62960.61760.35000.7561
40L'Etoile Du Nord French Immersion U462.05.00.86250.90000.82500.93330.92590.83020.75000.9107
59Jie Ming Mandarin Immersion Academy483.03.00.8065NaNNaNNaN0.76920.8333NaN0.8889
60Jie Ming Mandarin Immersion Academy483.04.00.9643NaNNaNNaN0.91671.0000NaN0.9565
61Jie Ming Mandarin Immersion Academy483.05.00.8095NaNNaNNaNNaN0.7692NaN0.9286
91Horace Mann School518.03.00.75440.83720.5000NaN0.63640.8286NaN0.8200
92Horace Mann School518.04.00.75410.85000.5714NaN0.80000.69230.46150.8333
93Horace Mann School518.05.00.80770.88240.66670.50000.77780.84850.50000.9000
113Randolph Heights Elementary545.03.00.71790.82690.50000.50000.58330.83330.48150.8431
114Randolph Heights Elementary545.04.00.73910.80000.6250NaN0.69230.80000.50000.8367
115Randolph Heights Elementary545.05.00.85070.90000.7778NaN0.87100.83330.66670.9348
122St. Anthony Park Elementary557.03.00.62650.71110.5263NaN0.63410.61900.36360.7213
123St. Anthony Park Elementary557.04.00.70590.79310.5185NaN0.76190.65120.37500.7826
124St. Anthony Park Elementary557.05.00.69010.95120.33330.30770.56250.79490.37500.8511
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "38 L'Etoile Du Nord French Immersion U 462.0 3.0 0.6230 0.7857 \n", "39 L'Etoile Du Nord French Immersion U 462.0 4.0 0.6230 0.8571 \n", "40 L'Etoile Du Nord French Immersion U 462.0 5.0 0.8625 0.9000 \n", "59 Jie Ming Mandarin Immersion Academy 483.0 3.0 0.8065 NaN \n", "60 Jie Ming Mandarin Immersion Academy 483.0 4.0 0.9643 NaN \n", "61 Jie Ming Mandarin Immersion Academy 483.0 5.0 0.8095 NaN \n", "91 Horace Mann School 518.0 3.0 0.7544 0.8372 \n", "92 Horace Mann School 518.0 4.0 0.7541 0.8500 \n", "93 Horace Mann School 518.0 5.0 0.8077 0.8824 \n", "113 Randolph Heights Elementary 545.0 3.0 0.7179 0.8269 \n", "114 Randolph Heights Elementary 545.0 4.0 0.7391 0.8000 \n", "115 Randolph Heights Elementary 545.0 5.0 0.8507 0.9000 \n", "122 St. Anthony Park Elementary 557.0 3.0 0.6265 0.7111 \n", "123 St. Anthony Park Elementary 557.0 4.0 0.7059 0.7931 \n", "124 St. Anthony Park Elementary 557.0 5.0 0.6901 0.9512 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "38 0.4848 0.6923 0.6522 0.6053 0.4286 0.6809 \n", "39 0.3077 0.3333 0.6296 0.6176 0.3500 0.7561 \n", "40 0.8250 0.9333 0.9259 0.8302 0.7500 0.9107 \n", "59 NaN NaN 0.7692 0.8333 NaN 0.8889 \n", "60 NaN NaN 0.9167 1.0000 NaN 0.9565 \n", "61 NaN NaN NaN 0.7692 NaN 0.9286 \n", "91 0.5000 NaN 0.6364 0.8286 NaN 0.8200 \n", "92 0.5714 NaN 0.8000 0.6923 0.4615 0.8333 \n", "93 0.6667 0.5000 0.7778 0.8485 0.5000 0.9000 \n", "113 0.5000 0.5000 0.5833 0.8333 0.4815 0.8431 \n", "114 0.6250 NaN 0.6923 0.8000 0.5000 0.8367 \n", "115 0.7778 NaN 0.8710 0.8333 0.6667 0.9348 \n", "122 0.5263 NaN 0.6341 0.6190 0.3636 0.7213 \n", "123 0.5185 NaN 0.7619 0.6512 0.3750 0.7826 \n", "124 0.3333 0.3077 0.5625 0.7949 0.3750 0.8511 " ] }, "execution_count": 20, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (518,557,483,545,462)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem1.png)" ] }, { "cell_type": "code", "execution_count": 54, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
38L'Etoile Du Nord French Immersion U462.03.00.62300.78570.48480.69230.69570.57890.42860.6809
39L'Etoile Du Nord French Immersion U462.04.00.60000.85710.24000.28570.53850.64710.35000.7250
40L'Etoile Du Nord French Immersion U462.05.00.71250.82500.60000.73330.74070.69810.45830.8214
59Jie Ming Mandarin Immersion Academy483.03.00.9032NaNNaNNaN0.84620.9444NaN0.9259
60Jie Ming Mandarin Immersion Academy483.04.01.0000NaNNaNNaN1.00001.0000NaN1.0000
61Jie Ming Mandarin Immersion Academy483.05.00.8571NaNNaNNaNNaN0.8462NaN0.9286
91Horace Mann School518.03.00.84210.90700.6429NaN0.77270.8857NaN0.9000
92Horace Mann School518.04.00.78690.90000.5714NaN0.74290.84620.46150.8750
93Horace Mann School518.05.00.57690.66670.40740.20000.60000.54550.22220.6833
113Randolph Heights Elementary545.03.00.83330.96150.57690.41670.75000.90480.59260.9608
114Randolph Heights Elementary545.04.00.78260.88890.5833NaN0.79490.76670.35000.9592
115Randolph Heights Elementary545.05.00.64180.72500.5185NaN0.67740.61110.52380.6957
122St. Anthony Park Elementary557.03.00.66270.77780.5263NaN0.70730.61900.40910.7541
123St. Anthony Park Elementary557.04.00.76470.84480.5926NaN0.80950.72090.43750.8406
124St. Anthony Park Elementary557.05.00.56340.78050.26670.30770.56250.56410.37500.6596
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "38 L'Etoile Du Nord French Immersion U 462.0 3.0 0.6230 0.7857 \n", "39 L'Etoile Du Nord French Immersion U 462.0 4.0 0.6000 0.8571 \n", "40 L'Etoile Du Nord French Immersion U 462.0 5.0 0.7125 0.8250 \n", "59 Jie Ming Mandarin Immersion Academy 483.0 3.0 0.9032 NaN \n", "60 Jie Ming Mandarin Immersion Academy 483.0 4.0 1.0000 NaN \n", "61 Jie Ming Mandarin Immersion Academy 483.0 5.0 0.8571 NaN \n", "91 Horace Mann School 518.0 3.0 0.8421 0.9070 \n", "92 Horace Mann School 518.0 4.0 0.7869 0.9000 \n", "93 Horace Mann School 518.0 5.0 0.5769 0.6667 \n", "113 Randolph Heights Elementary 545.0 3.0 0.8333 0.9615 \n", "114 Randolph Heights Elementary 545.0 4.0 0.7826 0.8889 \n", "115 Randolph Heights Elementary 545.0 5.0 0.6418 0.7250 \n", "122 St. Anthony Park Elementary 557.0 3.0 0.6627 0.7778 \n", "123 St. Anthony Park Elementary 557.0 4.0 0.7647 0.8448 \n", "124 St. Anthony Park Elementary 557.0 5.0 0.5634 0.7805 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "38 0.4848 0.6923 0.6957 0.5789 0.4286 0.6809 \n", "39 0.2400 0.2857 0.5385 0.6471 0.3500 0.7250 \n", "40 0.6000 0.7333 0.7407 0.6981 0.4583 0.8214 \n", "59 NaN NaN 0.8462 0.9444 NaN 0.9259 \n", "60 NaN NaN 1.0000 1.0000 NaN 1.0000 \n", "61 NaN NaN NaN 0.8462 NaN 0.9286 \n", "91 0.6429 NaN 0.7727 0.8857 NaN 0.9000 \n", "92 0.5714 NaN 0.7429 0.8462 0.4615 0.8750 \n", "93 0.4074 0.2000 0.6000 0.5455 0.2222 0.6833 \n", "113 0.5769 0.4167 0.7500 0.9048 0.5926 0.9608 \n", "114 0.5833 NaN 0.7949 0.7667 0.3500 0.9592 \n", "115 0.5185 NaN 0.6774 0.6111 0.5238 0.6957 \n", "122 0.5263 NaN 0.7073 0.6190 0.4091 0.7541 \n", "123 0.5926 NaN 0.8095 0.7209 0.4375 0.8406 \n", "124 0.2667 0.3077 0.5625 0.5641 0.3750 0.6596 " ] }, "execution_count": 54, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (518,557,483,545,462)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 53, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
12L'Etoile Du Nord French Immersion U462.050.58750.72500.45000.73330.55560.60380.37500.6786
19Jie Ming Mandarin Immersion Academy483.050.8571NaNNaNNaNNaN0.8462NaN0.9286
29Horace Mann School518.050.64100.72550.48150.20000.73330.51520.22220.7667
37Randolph Heights Elementary545.050.65670.75000.5185NaN0.64520.66670.42860.7609
40St. Anthony Park Elementary557.050.62860.92500.23330.07690.56250.68420.26090.8085
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "12 L'Etoile Du Nord French Immersion U 462.0 5 0.5875 0.7250 \n", "19 Jie Ming Mandarin Immersion Academy 483.0 5 0.8571 NaN \n", "29 Horace Mann School 518.0 5 0.6410 0.7255 \n", "37 Randolph Heights Elementary 545.0 5 0.6567 0.7500 \n", "40 St. Anthony Park Elementary 557.0 5 0.6286 0.9250 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "12 0.4500 0.7333 0.5556 0.6038 0.3750 0.6786 \n", "19 NaN NaN NaN 0.8462 NaN 0.9286 \n", "29 0.4815 0.2000 0.7333 0.5152 0.2222 0.7667 \n", "37 0.5185 NaN 0.6452 0.6667 0.4286 0.7609 \n", "40 0.2333 0.0769 0.5625 0.6842 0.2609 0.8085 " ] }, "execution_count": 53, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (518,557,483,545,462)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 2\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
4425.0Chelsea Heights Elementary445.052.3645.6222.4712.1345.17%19.33%9.44%1.35%
8435.0Expo For Excellence Elementary Sch663.054.7558.3723.983.9233.63%12.97%11.16%1.06%
14463.0L'Etoile Du Nord French Immersion L173.036.4245.6619.086.3642.20%18.50%4.05%0.00%
25493.0Jj Hill Montessori406.050.0048.0323.657.6434.48%21.18%10.59%0.00%
26494.0Capitol Hill Magnet/Rondo1254.053.0338.2822.6524.9641.87%10.53%5.50%0.32%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "4 425.0 Chelsea Heights Elementary 445.0 52.36 45.62 \n", "8 435.0 Expo For Excellence Elementary Sch 663.0 54.75 58.37 \n", "14 463.0 L'Etoile Du Nord French Immersion L 173.0 36.42 45.66 \n", "25 493.0 Jj Hill Montessori 406.0 50.00 48.03 \n", "26 494.0 Capitol Hill Magnet/Rondo 1254.0 53.03 38.28 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "4 22.47 12.13 45.17% 19.33% 9.44% 1.35% \n", "8 23.98 3.92 33.63% 12.97% 11.16% 1.06% \n", "14 19.08 6.36 42.20% 18.50% 4.05% 0.00% \n", "25 23.65 7.64 34.48% 21.18% 10.59% 0.00% \n", "26 22.65 24.96 41.87% 10.53% 5.50% 0.32% " ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (435,493,494,463,425)')\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem2.png)" ] }, { "cell_type": "code", "execution_count": 52, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
12Chelsea Heights Elementary425.03.00.59460.77500.38240.50000.63640.56100.40630.7381
13Chelsea Heights Elementary425.04.00.50700.71430.37210.33330.27030.76470.45000.5806
14Chelsea Heights Elementary425.05.00.58670.67650.51220.50000.51160.68750.43240.7368
24Expo For Excellence Elementary Sch435.03.00.63460.76670.45450.38460.62710.64440.30300.7887
25Expo For Excellence Elementary Sch435.04.00.56190.76470.37040.20690.57140.55100.26090.7966
26Expo For Excellence Elementary Sch435.05.00.63460.82460.40430.24000.60660.67440.28570.8116
74Jj Hill Montessori493.03.00.49060.60000.39290.28570.52000.46430.23810.6563
75Jj Hill Montessori493.04.00.54900.69230.40000.09090.51720.59090.23080.6579
76Jj Hill Montessori493.05.00.55100.71430.42860.20000.48150.63640.27270.7778
77Capitol Hill Magnet/Rondo494.03.00.70590.86210.58970.57690.63240.77940.50000.8043
78Capitol Hill Magnet/Rondo494.04.00.73240.92450.61800.68180.73910.72600.61020.8193
79Capitol Hill Magnet/Rondo494.05.00.70950.91530.57300.50000.65710.75640.55220.8395
80Capitol Hill Magnet/Rondo494.06.00.71360.88160.62040.57410.72580.69660.53920.8739
81Capitol Hill Magnet/Rondo494.07.00.65020.83580.55880.46670.60360.70650.49000.8058
82Capitol Hill Magnet/Rondo494.08.00.68320.88310.56000.49120.66670.70210.54550.7895
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "12 Chelsea Heights Elementary 425.0 3.0 0.5946 0.7750 \n", "13 Chelsea Heights Elementary 425.0 4.0 0.5070 0.7143 \n", "14 Chelsea Heights Elementary 425.0 5.0 0.5867 0.6765 \n", "24 Expo For Excellence Elementary Sch 435.0 3.0 0.6346 0.7667 \n", "25 Expo For Excellence Elementary Sch 435.0 4.0 0.5619 0.7647 \n", "26 Expo For Excellence Elementary Sch 435.0 5.0 0.6346 0.8246 \n", "74 Jj Hill Montessori 493.0 3.0 0.4906 0.6000 \n", "75 Jj Hill Montessori 493.0 4.0 0.5490 0.6923 \n", "76 Jj Hill Montessori 493.0 5.0 0.5510 0.7143 \n", "77 Capitol Hill Magnet/Rondo 494.0 3.0 0.7059 0.8621 \n", "78 Capitol Hill Magnet/Rondo 494.0 4.0 0.7324 0.9245 \n", "79 Capitol Hill Magnet/Rondo 494.0 5.0 0.7095 0.9153 \n", "80 Capitol Hill Magnet/Rondo 494.0 6.0 0.7136 0.8816 \n", "81 Capitol Hill Magnet/Rondo 494.0 7.0 0.6502 0.8358 \n", "82 Capitol Hill Magnet/Rondo 494.0 8.0 0.6832 0.8831 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "12 0.3824 0.5000 0.6364 0.5610 0.4063 0.7381 \n", "13 0.3721 0.3333 0.2703 0.7647 0.4500 0.5806 \n", "14 0.5122 0.5000 0.5116 0.6875 0.4324 0.7368 \n", "24 0.4545 0.3846 0.6271 0.6444 0.3030 0.7887 \n", "25 0.3704 0.2069 0.5714 0.5510 0.2609 0.7966 \n", "26 0.4043 0.2400 0.6066 0.6744 0.2857 0.8116 \n", "74 0.3929 0.2857 0.5200 0.4643 0.2381 0.6563 \n", "75 0.4000 0.0909 0.5172 0.5909 0.2308 0.6579 \n", "76 0.4286 0.2000 0.4815 0.6364 0.2727 0.7778 \n", "77 0.5897 0.5769 0.6324 0.7794 0.5000 0.8043 \n", "78 0.6180 0.6818 0.7391 0.7260 0.6102 0.8193 \n", "79 0.5730 0.5000 0.6571 0.7564 0.5522 0.8395 \n", "80 0.6204 0.5741 0.7258 0.6966 0.5392 0.8739 \n", "81 0.5588 0.4667 0.6036 0.7065 0.4900 0.8058 \n", "82 0.5600 0.4912 0.6667 0.7021 0.5455 0.7895 " ] }, "execution_count": 52, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (435,493,494,463,425)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem2.png)" ] }, { "cell_type": "code", "execution_count": 51, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
12Chelsea Heights Elementary425.03.00.59460.75000.41180.50000.66670.53660.46880.6905
13Chelsea Heights Elementary425.04.00.49300.71430.34880.38890.45950.52940.40000.6129
14Chelsea Heights Elementary425.05.00.49330.50000.48780.37500.48840.50000.32430.6579
24Expo For Excellence Elementary Sch435.03.00.63460.80000.40910.34620.72880.51110.24240.8169
25Expo For Excellence Elementary Sch435.04.00.70090.88240.53570.46670.69640.70590.50000.8644
26Expo For Excellence Elementary Sch435.05.00.49540.62300.33330.30770.47690.52270.21620.6389
74Jj Hill Montessori493.03.00.35190.48000.24140.06670.32000.37930.04550.5625
75Jj Hill Montessori493.04.00.41180.51850.29170.10000.36670.47620.16670.4872
76Jj Hill Montessori493.05.00.18370.40000.03450.00000.22220.13640.00000.3462
77Capitol Hill Magnet/Rondo494.03.00.80000.92980.70510.65380.85290.74630.68180.8571
78Capitol Hill Magnet/Rondo494.04.00.81560.96230.72730.86360.84060.79170.71190.8902
79Capitol Hill Magnet/Rondo494.05.00.52380.74580.37500.16130.50720.53850.30300.7037
80Capitol Hill Magnet/Rondo494.06.00.53990.85530.36500.29630.64520.39330.29410.7658
81Capitol Hill Magnet/Rondo494.07.00.60100.89550.45590.35000.58560.61960.40000.7961
82Capitol Hill Magnet/Rondo494.08.00.57640.79220.44440.29310.57800.57450.42700.6930
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "12 Chelsea Heights Elementary 425.0 3.0 0.5946 0.7500 \n", "13 Chelsea Heights Elementary 425.0 4.0 0.4930 0.7143 \n", "14 Chelsea Heights Elementary 425.0 5.0 0.4933 0.5000 \n", "24 Expo For Excellence Elementary Sch 435.0 3.0 0.6346 0.8000 \n", "25 Expo For Excellence Elementary Sch 435.0 4.0 0.7009 0.8824 \n", "26 Expo For Excellence Elementary Sch 435.0 5.0 0.4954 0.6230 \n", "74 Jj Hill Montessori 493.0 3.0 0.3519 0.4800 \n", "75 Jj Hill Montessori 493.0 4.0 0.4118 0.5185 \n", "76 Jj Hill Montessori 493.0 5.0 0.1837 0.4000 \n", "77 Capitol Hill Magnet/Rondo 494.0 3.0 0.8000 0.9298 \n", "78 Capitol Hill Magnet/Rondo 494.0 4.0 0.8156 0.9623 \n", "79 Capitol Hill Magnet/Rondo 494.0 5.0 0.5238 0.7458 \n", "80 Capitol Hill Magnet/Rondo 494.0 6.0 0.5399 0.8553 \n", "81 Capitol Hill Magnet/Rondo 494.0 7.0 0.6010 0.8955 \n", "82 Capitol Hill Magnet/Rondo 494.0 8.0 0.5764 0.7922 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "12 0.4118 0.5000 0.6667 0.5366 0.4688 0.6905 \n", "13 0.3488 0.3889 0.4595 0.5294 0.4000 0.6129 \n", "14 0.4878 0.3750 0.4884 0.5000 0.3243 0.6579 \n", "24 0.4091 0.3462 0.7288 0.5111 0.2424 0.8169 \n", "25 0.5357 0.4667 0.6964 0.7059 0.5000 0.8644 \n", "26 0.3333 0.3077 0.4769 0.5227 0.2162 0.6389 \n", "74 0.2414 0.0667 0.3200 0.3793 0.0455 0.5625 \n", "75 0.2917 0.1000 0.3667 0.4762 0.1667 0.4872 \n", "76 0.0345 0.0000 0.2222 0.1364 0.0000 0.3462 \n", "77 0.7051 0.6538 0.8529 0.7463 0.6818 0.8571 \n", "78 0.7273 0.8636 0.8406 0.7917 0.7119 0.8902 \n", "79 0.3750 0.1613 0.5072 0.5385 0.3030 0.7037 \n", "80 0.3650 0.2963 0.6452 0.3933 0.2941 0.7658 \n", "81 0.4559 0.3500 0.5856 0.6196 0.4000 0.7961 \n", "82 0.4444 0.2931 0.5780 0.5745 0.4270 0.6930 " ] }, "execution_count": 51, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (435,493,494,463,425)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 50, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
4Chelsea Heights Elementary425.050.54670.64710.46340.50000.51160.59380.35140.7368
8Expo For Excellence Elementary Sch435.050.54210.68850.34780.28000.51560.58140.22860.6944
24Jj Hill Montessori493.050.32610.60000.11540.00000.30770.35000.00000.5769
25Capitol Hill Magnet/Rondo494.050.62160.91530.42700.28130.61430.62820.41790.7901
26Capitol Hill Magnet/Rondo494.080.51490.83120.32000.20690.54630.47870.28410.6930
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "4 Chelsea Heights Elementary 425.0 5 0.5467 0.6471 \n", "8 Expo For Excellence Elementary Sch 435.0 5 0.5421 0.6885 \n", "24 Jj Hill Montessori 493.0 5 0.3261 0.6000 \n", "25 Capitol Hill Magnet/Rondo 494.0 5 0.6216 0.9153 \n", "26 Capitol Hill Magnet/Rondo 494.0 8 0.5149 0.8312 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "4 0.4634 0.5000 0.5116 0.5938 0.3514 0.7368 \n", "8 0.3478 0.2800 0.5156 0.5814 0.2286 0.6944 \n", "24 0.1154 0.0000 0.3077 0.3500 0.0000 0.5769 \n", "25 0.4270 0.2813 0.6143 0.6282 0.4179 0.7901 \n", "26 0.3200 0.2069 0.5463 0.4787 0.2841 0.6930 " ] }, "execution_count": 50, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (435,493,494,463,425)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 3\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 49, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
0410.0Adams Magnet Elementary616.049.1926.4615.260.3248.86%22.08%6.66%0.81%
19476.0Groveland Park Elementary402.048.5144.2827.865.7251.24%16.17%10.95%0.25%
33528.0Linwood Monroe Arts Plus Upper472.045.5529.0332.2019.2862.92%28.81%20.97%1.27%
34533.0Nokomis Montessori North Campus362.051.1022.658.5652.4958.84%41.71%10.77%1.10%
35534.0Nokomis Montessori South Campus267.056.5525.8411.9941.2055.81%34.83%15.36%0.00%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% Black% \\\n", "0 410.0 Adams Magnet Elementary 616.0 49.19 26.46 15.26 \n", "19 476.0 Groveland Park Elementary 402.0 48.51 44.28 27.86 \n", "33 528.0 Linwood Monroe Arts Plus Upper 472.0 45.55 29.03 32.20 \n", "34 533.0 Nokomis Montessori North Campus 362.0 51.10 22.65 8.56 \n", "35 534.0 Nokomis Montessori South Campus 267.0 56.55 25.84 11.99 \n", "\n", " Asian% FRP% ELL% SPED% Homeless% \n", "0 0.32 48.86% 22.08% 6.66% 0.81% \n", "19 5.72 51.24% 16.17% 10.95% 0.25% \n", "33 19.28 62.92% 28.81% 20.97% 1.27% \n", "34 52.49 58.84% 41.71% 10.77% 1.10% \n", "35 41.20 55.81% 34.83% 15.36% 0.00% " ] }, "execution_count": 49, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (410,476,534,533,528)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem3.png)" ] }, { "cell_type": "code", "execution_count": 48, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
0Adams Magnet Elementary410.03.00.46430.76920.32760.09090.43900.48840.20510.6889
1Adams Magnet Elementary410.04.00.44050.73680.3538NaN0.47370.41300.35560.5385
2Adams Magnet Elementary410.05.00.52580.79170.43840.26670.43480.60780.25530.7800
53Groveland Park Elementary476.03.00.52730.69230.37930.16670.57140.51220.34620.6897
54Groveland Park Elementary476.04.00.44440.61110.36110.34780.38240.55000.24240.7619
55Groveland Park Elementary476.05.00.66250.77500.55000.42860.56100.76920.44440.8409
100Linwood Monroe Arts Plus Upper528.05.00.36590.68750.28790.14810.29270.43900.27120.6087
101Linwood Monroe Arts Plus Upper528.06.00.45070.72220.35850.28260.39390.50000.29030.7551
102Linwood Monroe Arts Plus Upper528.07.00.40770.75680.26880.23910.36510.44780.24140.7442
103Linwood Monroe Arts Plus Upper528.08.00.49140.75610.34670.24320.48940.49280.30000.7826
104Nokomis Montessori North Campus533.03.00.26000.40000.2000NaN0.31030.19050.27270.2353
105Nokomis Montessori North Campus533.04.00.26670.60000.1714NaN0.26320.26920.13790.5000
106Nokomis Montessori North Campus533.05.00.66670.76920.6154NaN0.66670.66670.44440.8571
107Nokomis Montessori South Campus534.03.00.23080.30000.2069NaN0.22730.23530.15000.3158
108Nokomis Montessori South Campus534.04.00.4359NaNNaNNaN0.34780.56250.36000.5714
109Nokomis Montessori South Campus534.05.00.4865NaNNaNNaN0.45000.52940.27780.6842
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "0 Adams Magnet Elementary 410.0 3.0 0.4643 0.7692 \n", "1 Adams Magnet Elementary 410.0 4.0 0.4405 0.7368 \n", "2 Adams Magnet Elementary 410.0 5.0 0.5258 0.7917 \n", "53 Groveland Park Elementary 476.0 3.0 0.5273 0.6923 \n", "54 Groveland Park Elementary 476.0 4.0 0.4444 0.6111 \n", "55 Groveland Park Elementary 476.0 5.0 0.6625 0.7750 \n", "100 Linwood Monroe Arts Plus Upper 528.0 5.0 0.3659 0.6875 \n", "101 Linwood Monroe Arts Plus Upper 528.0 6.0 0.4507 0.7222 \n", "102 Linwood Monroe Arts Plus Upper 528.0 7.0 0.4077 0.7568 \n", "103 Linwood Monroe Arts Plus Upper 528.0 8.0 0.4914 0.7561 \n", "104 Nokomis Montessori North Campus 533.0 3.0 0.2600 0.4000 \n", "105 Nokomis Montessori North Campus 533.0 4.0 0.2667 0.6000 \n", "106 Nokomis Montessori North Campus 533.0 5.0 0.6667 0.7692 \n", "107 Nokomis Montessori South Campus 534.0 3.0 0.2308 0.3000 \n", "108 Nokomis Montessori South Campus 534.0 4.0 0.4359 NaN \n", "109 Nokomis Montessori South Campus 534.0 5.0 0.4865 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "0 0.3276 0.0909 0.4390 0.4884 0.2051 0.6889 \n", "1 0.3538 NaN 0.4737 0.4130 0.3556 0.5385 \n", "2 0.4384 0.2667 0.4348 0.6078 0.2553 0.7800 \n", "53 0.3793 0.1667 0.5714 0.5122 0.3462 0.6897 \n", "54 0.3611 0.3478 0.3824 0.5500 0.2424 0.7619 \n", "55 0.5500 0.4286 0.5610 0.7692 0.4444 0.8409 \n", "100 0.2879 0.1481 0.2927 0.4390 0.2712 0.6087 \n", "101 0.3585 0.2826 0.3939 0.5000 0.2903 0.7551 \n", "102 0.2688 0.2391 0.3651 0.4478 0.2414 0.7442 \n", "103 0.3467 0.2432 0.4894 0.4928 0.3000 0.7826 \n", "104 0.2000 NaN 0.3103 0.1905 0.2727 0.2353 \n", "105 0.1714 NaN 0.2632 0.2692 0.1379 0.5000 \n", "106 0.6154 NaN 0.6667 0.6667 0.4444 0.8571 \n", "107 0.2069 NaN 0.2273 0.2353 0.1500 0.3158 \n", "108 NaN NaN 0.3478 0.5625 0.3600 0.5714 \n", "109 NaN NaN 0.4500 0.5294 0.2778 0.6842 " ] }, "execution_count": 48, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (410,476,534,533,528)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem3.png)" ] }, { "cell_type": "code", "execution_count": 47, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
0Adams Magnet Elementary410.03.00.53570.92310.36210.09090.56100.51160.23080.8000
1Adams Magnet Elementary410.04.00.41670.68420.3385NaN0.50000.34780.31110.5385
2Adams Magnet Elementary410.05.00.26530.50000.18920.00000.23400.29410.12500.4000
53Groveland Park Elementary476.03.00.57410.76920.39290.16670.69230.53660.32000.7931
54Groveland Park Elementary476.04.00.53700.72220.44440.39130.52940.55000.39390.7619
55Groveland Park Elementary476.05.00.51250.70000.32500.23810.46340.56410.30560.6818
100Linwood Monroe Arts Plus Upper528.05.00.22890.43750.17910.14810.23810.21950.15000.4348
101Linwood Monroe Arts Plus Upper528.06.00.36880.61110.28570.19570.36360.37330.23910.6122
102Linwood Monroe Arts Plus Upper528.07.00.32520.59460.20930.20000.34430.30650.16050.6429
103Linwood Monroe Arts Plus Upper528.08.00.32170.58540.17570.11110.29790.33820.14490.5870
104Nokomis Montessori North Campus533.03.00.26530.40000.2059NaN0.34480.15000.28130.2353
105Nokomis Montessori North Campus533.04.00.33330.70000.2286NaN0.26320.38460.20690.5625
106Nokomis Montessori North Campus533.05.00.33330.46150.2692NaN0.33330.33330.16670.4762
107Nokomis Montessori South Campus534.03.00.23080.40000.1724NaN0.31820.11760.05000.4211
108Nokomis Montessori South Campus534.04.00.3590NaNNaNNaN0.30430.43750.32000.4286
109Nokomis Montessori South Campus534.05.00.1622NaNNaNNaN0.15000.17650.00000.3158
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "0 Adams Magnet Elementary 410.0 3.0 0.5357 0.9231 \n", "1 Adams Magnet Elementary 410.0 4.0 0.4167 0.6842 \n", "2 Adams Magnet Elementary 410.0 5.0 0.2653 0.5000 \n", "53 Groveland Park Elementary 476.0 3.0 0.5741 0.7692 \n", "54 Groveland Park Elementary 476.0 4.0 0.5370 0.7222 \n", "55 Groveland Park Elementary 476.0 5.0 0.5125 0.7000 \n", "100 Linwood Monroe Arts Plus Upper 528.0 5.0 0.2289 0.4375 \n", "101 Linwood Monroe Arts Plus Upper 528.0 6.0 0.3688 0.6111 \n", "102 Linwood Monroe Arts Plus Upper 528.0 7.0 0.3252 0.5946 \n", "103 Linwood Monroe Arts Plus Upper 528.0 8.0 0.3217 0.5854 \n", "104 Nokomis Montessori North Campus 533.0 3.0 0.2653 0.4000 \n", "105 Nokomis Montessori North Campus 533.0 4.0 0.3333 0.7000 \n", "106 Nokomis Montessori North Campus 533.0 5.0 0.3333 0.4615 \n", "107 Nokomis Montessori South Campus 534.0 3.0 0.2308 0.4000 \n", "108 Nokomis Montessori South Campus 534.0 4.0 0.3590 NaN \n", "109 Nokomis Montessori South Campus 534.0 5.0 0.1622 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "0 0.3621 0.0909 0.5610 0.5116 0.2308 0.8000 \n", "1 0.3385 NaN 0.5000 0.3478 0.3111 0.5385 \n", "2 0.1892 0.0000 0.2340 0.2941 0.1250 0.4000 \n", "53 0.3929 0.1667 0.6923 0.5366 0.3200 0.7931 \n", "54 0.4444 0.3913 0.5294 0.5500 0.3939 0.7619 \n", "55 0.3250 0.2381 0.4634 0.5641 0.3056 0.6818 \n", "100 0.1791 0.1481 0.2381 0.2195 0.1500 0.4348 \n", "101 0.2857 0.1957 0.3636 0.3733 0.2391 0.6122 \n", "102 0.2093 0.2000 0.3443 0.3065 0.1605 0.6429 \n", "103 0.1757 0.1111 0.2979 0.3382 0.1449 0.5870 \n", "104 0.2059 NaN 0.3448 0.1500 0.2813 0.2353 \n", "105 0.2286 NaN 0.2632 0.3846 0.2069 0.5625 \n", "106 0.2692 NaN 0.3333 0.3333 0.1667 0.4762 \n", "107 0.1724 NaN 0.3182 0.1176 0.0500 0.4211 \n", "108 NaN NaN 0.3043 0.4375 0.3200 0.4286 \n", "109 NaN NaN 0.1500 0.1765 0.0000 0.3158 " ] }, "execution_count": 47, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (410,476,534,533,528)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 46, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
0Adams Magnet Elementary410.050.34020.58330.26030.20000.30430.37250.10640.5600
17Groveland Park Elementary476.050.55000.70000.40000.28570.48780.61540.33330.7273
32Linwood Monroe Arts Plus Upper528.050.18070.43750.11940.00000.14290.21950.08330.4348
33Linwood Monroe Arts Plus Upper528.080.34210.65850.16440.11430.35560.33330.19120.5652
34Nokomis Montessori North Campus533.050.36840.61540.2400NaN0.38100.35290.22220.5000
35Nokomis Montessori South Campus534.050.2973NaNNaNNaN0.30000.29410.27780.3158
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "0 Adams Magnet Elementary 410.0 5 0.3402 0.5833 \n", "17 Groveland Park Elementary 476.0 5 0.5500 0.7000 \n", "32 Linwood Monroe Arts Plus Upper 528.0 5 0.1807 0.4375 \n", "33 Linwood Monroe Arts Plus Upper 528.0 8 0.3421 0.6585 \n", "34 Nokomis Montessori North Campus 533.0 5 0.3684 0.6154 \n", "35 Nokomis Montessori South Campus 534.0 5 0.2973 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "0 0.2603 0.2000 0.3043 0.3725 0.1064 0.5600 \n", "17 0.4000 0.2857 0.4878 0.6154 0.3333 0.7273 \n", "32 0.1194 0.0000 0.1429 0.2195 0.0833 0.4348 \n", "33 0.1644 0.1143 0.3556 0.3333 0.1912 0.5652 \n", "34 0.2400 NaN 0.3810 0.3529 0.2222 0.5000 \n", "35 NaN NaN 0.3000 0.2941 0.2778 0.3158 " ] }, "execution_count": 46, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (410,476,534,533,528)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 4\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
16465.0Crossroads Montessori259.049.8118.1530.1221.2469.88%22.01%10.81%1.93%
18467.0Galtier Elementary School196.051.0227.5533.677.6567.35%16.84%11.73%5.10%
22488.0The Heights Community School462.056.939.0924.4638.7469.91%40.69%18.40%1.95%
24491.0Highland Park Elementary385.053.7727.0149.878.0566.23%34.29%7.27%1.04%
29510.0Linwood Monroe Arts Plus Lower396.050.5129.2920.2024.4966.41%39.14%19.44%1.77%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% Black% \\\n", "16 465.0 Crossroads Montessori 259.0 49.81 18.15 30.12 \n", "18 467.0 Galtier Elementary School 196.0 51.02 27.55 33.67 \n", "22 488.0 The Heights Community School 462.0 56.93 9.09 24.46 \n", "24 491.0 Highland Park Elementary 385.0 53.77 27.01 49.87 \n", "29 510.0 Linwood Monroe Arts Plus Lower 396.0 50.51 29.29 20.20 \n", "\n", " Asian% FRP% ELL% SPED% Homeless% \n", "16 21.24 69.88% 22.01% 10.81% 1.93% \n", "18 7.65 67.35% 16.84% 11.73% 5.10% \n", "22 38.74 69.91% 40.69% 18.40% 1.95% \n", "24 8.05 66.23% 34.29% 7.27% 1.04% \n", "29 24.49 66.41% 39.14% 19.44% 1.77% " ] }, "execution_count": 17, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (491,510,467,465,488)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem4.png)" ] }, { "cell_type": "code", "execution_count": 45, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
44Crossroads Montessori465.03.00.4194NaNNaNNaN0.38890.46150.26320.6667
45Crossroads Montessori465.04.00.3704NaNNaNNaN0.20000.47060.3333NaN
46Crossroads Montessori465.05.00.4643NaNNaNNaN0.20000.76920.28570.6429
50Galtier Elementary School467.03.00.3462NaNNaNNaN0.23080.46150.1765NaN
51Galtier Elementary School467.04.00.0870NaNNaN0.09090.1429NaN0.1111NaN
52Galtier Elementary School467.05.00.2727NaNNaN0.4000NaN0.23080.1176NaN
62The Heights Community School488.03.00.2097NaNNaN0.11110.20000.22220.13330.4118
63The Heights Community School488.04.00.1395NaNNaN0.07690.09090.19050.10000.2308
64The Heights Community School488.05.00.3857NaNNaN0.11110.29270.51720.40430.3478
71Highland Park Elementary491.03.00.31340.71430.20750.14290.32350.30300.15560.6364
72Highland Park Elementary491.04.00.41380.63160.30770.20830.34780.45710.20590.7083
73Highland Park Elementary491.05.00.55560.90000.42310.37140.50000.62500.40000.8148
89Linwood Monroe Arts Plus Lower510.03.00.43040.64000.33330.25000.34290.50000.26420.7692
90Linwood Monroe Arts Plus Lower510.04.00.29490.64000.13210.10530.29790.29030.10710.7727
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "44 Crossroads Montessori 465.0 3.0 0.4194 NaN \n", "45 Crossroads Montessori 465.0 4.0 0.3704 NaN \n", "46 Crossroads Montessori 465.0 5.0 0.4643 NaN \n", "50 Galtier Elementary School 467.0 3.0 0.3462 NaN \n", "51 Galtier Elementary School 467.0 4.0 0.0870 NaN \n", "52 Galtier Elementary School 467.0 5.0 0.2727 NaN \n", "62 The Heights Community School 488.0 3.0 0.2097 NaN \n", "63 The Heights Community School 488.0 4.0 0.1395 NaN \n", "64 The Heights Community School 488.0 5.0 0.3857 NaN \n", "71 Highland Park Elementary 491.0 3.0 0.3134 0.7143 \n", "72 Highland Park Elementary 491.0 4.0 0.4138 0.6316 \n", "73 Highland Park Elementary 491.0 5.0 0.5556 0.9000 \n", "89 Linwood Monroe Arts Plus Lower 510.0 3.0 0.4304 0.6400 \n", "90 Linwood Monroe Arts Plus Lower 510.0 4.0 0.2949 0.6400 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "44 NaN NaN 0.3889 0.4615 0.2632 0.6667 \n", "45 NaN NaN 0.2000 0.4706 0.3333 NaN \n", "46 NaN NaN 0.2000 0.7692 0.2857 0.6429 \n", "50 NaN NaN 0.2308 0.4615 0.1765 NaN \n", "51 NaN 0.0909 0.1429 NaN 0.1111 NaN \n", "52 NaN 0.4000 NaN 0.2308 0.1176 NaN \n", "62 NaN 0.1111 0.2000 0.2222 0.1333 0.4118 \n", "63 NaN 0.0769 0.0909 0.1905 0.1000 0.2308 \n", "64 NaN 0.1111 0.2927 0.5172 0.4043 0.3478 \n", "71 0.2075 0.1429 0.3235 0.3030 0.1556 0.6364 \n", "72 0.3077 0.2083 0.3478 0.4571 0.2059 0.7083 \n", "73 0.4231 0.3714 0.5000 0.6250 0.4000 0.8148 \n", "89 0.3333 0.2500 0.3429 0.5000 0.2642 0.7692 \n", "90 0.1321 0.1053 0.2979 0.2903 0.1071 0.7727 " ] }, "execution_count": 45, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (491,510,467,465,488)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem4.png)" ] }, { "cell_type": "code", "execution_count": 44, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
44Crossroads Montessori465.03.00.4333NaNNaNNaN0.47060.38460.27780.6667
45Crossroads Montessori465.04.00.2593NaNNaNNaN0.30000.23530.2857NaN
46Crossroads Montessori465.05.00.1429NaNNaNNaN0.06670.23080.07140.2143
50Galtier Elementary School467.03.00.3462NaNNaNNaN0.30770.38460.2353NaN
51Galtier Elementary School467.04.00.0870NaNNaN0.09090.0714NaN0.1111NaN
52Galtier Elementary School467.05.00.0000NaNNaN0.0000NaN0.00000.0000NaN
62The Heights Community School488.03.00.3492NaNNaN0.26320.37140.32140.26090.5882
63The Heights Community School488.04.00.2069NaNNaN0.07410.20000.21430.13110.3846
64The Heights Community School488.05.00.2000NaNNaN0.00000.17070.24140.21280.1739
71Highland Park Elementary491.03.00.37310.71430.28300.25710.41180.33330.22220.6818
72Highland Park Elementary491.04.00.43100.78950.25640.20830.47830.40000.20590.7500
73Highland Park Elementary491.05.00.31940.75000.15380.11430.27500.37500.11110.6667
89Linwood Monroe Arts Plus Lower510.03.00.39240.56000.31480.25000.40000.38640.22640.7308
90Linwood Monroe Arts Plus Lower510.04.00.26920.60000.11320.15790.27660.25810.10710.6818
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "44 Crossroads Montessori 465.0 3.0 0.4333 NaN \n", "45 Crossroads Montessori 465.0 4.0 0.2593 NaN \n", "46 Crossroads Montessori 465.0 5.0 0.1429 NaN \n", "50 Galtier Elementary School 467.0 3.0 0.3462 NaN \n", "51 Galtier Elementary School 467.0 4.0 0.0870 NaN \n", "52 Galtier Elementary School 467.0 5.0 0.0000 NaN \n", "62 The Heights Community School 488.0 3.0 0.3492 NaN \n", "63 The Heights Community School 488.0 4.0 0.2069 NaN \n", "64 The Heights Community School 488.0 5.0 0.2000 NaN \n", "71 Highland Park Elementary 491.0 3.0 0.3731 0.7143 \n", "72 Highland Park Elementary 491.0 4.0 0.4310 0.7895 \n", "73 Highland Park Elementary 491.0 5.0 0.3194 0.7500 \n", "89 Linwood Monroe Arts Plus Lower 510.0 3.0 0.3924 0.5600 \n", "90 Linwood Monroe Arts Plus Lower 510.0 4.0 0.2692 0.6000 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "44 NaN NaN 0.4706 0.3846 0.2778 0.6667 \n", "45 NaN NaN 0.3000 0.2353 0.2857 NaN \n", "46 NaN NaN 0.0667 0.2308 0.0714 0.2143 \n", "50 NaN NaN 0.3077 0.3846 0.2353 NaN \n", "51 NaN 0.0909 0.0714 NaN 0.1111 NaN \n", "52 NaN 0.0000 NaN 0.0000 0.0000 NaN \n", "62 NaN 0.2632 0.3714 0.3214 0.2609 0.5882 \n", "63 NaN 0.0741 0.2000 0.2143 0.1311 0.3846 \n", "64 NaN 0.0000 0.1707 0.2414 0.2128 0.1739 \n", "71 0.2830 0.2571 0.4118 0.3333 0.2222 0.6818 \n", "72 0.2564 0.2083 0.4783 0.4000 0.2059 0.7500 \n", "73 0.1538 0.1143 0.2750 0.3750 0.1111 0.6667 \n", "89 0.3148 0.2500 0.4000 0.3864 0.2264 0.7308 \n", "90 0.1132 0.1579 0.2766 0.2581 0.1071 0.6818 " ] }, "execution_count": 44, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (491,510,467,465,488)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 43, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
14Crossroads Montessori465.050.2759NaNNaNNaN0.25000.30770.14290.4000
16Galtier Elementary School467.050.0000NaNNaN0.0000NaN0.00000.0000NaN
20The Heights Community School488.050.1014NaNNaN0.00000.09760.10710.10870.0870
23Highland Park Elementary491.050.30560.650.17310.11430.27500.34380.11110.6296
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "14 Crossroads Montessori 465.0 5 0.2759 NaN NaN \n", "16 Galtier Elementary School 467.0 5 0.0000 NaN NaN \n", "20 The Heights Community School 488.0 5 0.1014 NaN NaN \n", "23 Highland Park Elementary 491.0 5 0.3056 0.65 0.1731 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "14 NaN 0.2500 0.3077 0.1429 0.4000 \n", "16 0.0000 NaN 0.0000 0.0000 NaN \n", "20 0.0000 0.0976 0.1071 0.1087 0.0870 \n", "23 0.1143 0.2750 0.3438 0.1111 0.6296 " ] }, "execution_count": 43, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (491,510,467,465,488)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 5\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 41, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
2422.0Battle Creek Elementary School472.054.247.2028.8143.0173.31%41.31%18.01%1.27%
5428.0Cherokee Heights Elementary School215.051.6318.6021.867.4471.16%30.23%20.93%3.72%
10452.0Eastern Heights Elementary334.054.1910.1824.5541.6274.55%46.41%18.26%2.40%
11458.0Farnsworth Aerospace Lower479.053.246.8911.6968.6872.86%58.25%8.35%1.25%
20482.0Hamline Elementary School284.054.5817.9650.7011.2773.94%21.83%13.03%3.87%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "2 422.0 Battle Creek Elementary School 472.0 54.24 7.20 \n", "5 428.0 Cherokee Heights Elementary School 215.0 51.63 18.60 \n", "10 452.0 Eastern Heights Elementary 334.0 54.19 10.18 \n", "11 458.0 Farnsworth Aerospace Lower 479.0 53.24 6.89 \n", "20 482.0 Hamline Elementary School 284.0 54.58 17.96 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "2 28.81 43.01 73.31% 41.31% 18.01% 1.27% \n", "5 21.86 7.44 71.16% 30.23% 20.93% 3.72% \n", "10 24.55 41.62 74.55% 46.41% 18.26% 2.40% \n", "11 11.69 68.68 72.86% 58.25% 8.35% 1.25% \n", "20 50.70 11.27 73.94% 21.83% 13.03% 3.87% " ] }, "execution_count": 41, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (428,458,422,482,452)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem5.png)" ] }, { "cell_type": "code", "execution_count": 42, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
6Battle Creek Elementary School422.03.00.27690.10.30910.26920.27270.28130.23640.5000
7Battle Creek Elementary School422.04.00.2877NaNNaN0.30000.31030.27270.25930.3684
8Battle Creek Elementary School422.05.00.5077NaNNaN0.42110.46510.59090.46670.6000
15Cherokee Heights Elementary School428.03.00.1212NaNNaNNaN0.05880.18750.0769NaN
16Cherokee Heights Elementary School428.04.00.1935NaNNaNNaN0.26670.12500.2000NaN
17Cherokee Heights Elementary School428.05.00.3333NaNNaNNaN0.38460.28570.3478NaN
30Eastern Heights Elementary452.03.00.2439NaNNaN0.15380.16000.37500.20000.3636
31Eastern Heights Elementary452.04.00.2553NaNNaNNaN0.32000.18180.19440.4545
32Eastern Heights Elementary452.05.00.3333NaNNaNNaN0.34620.32000.17950.8333
33Farnsworth Aerospace Lower458.03.00.3232NaNNaN0.50000.37100.24320.29170.4074
34Farnsworth Aerospace Lower458.04.00.3271NaNNaN0.00000.31150.34780.28210.4483
56Hamline Elementary School482.03.00.3333NaNNaN0.25000.39130.27270.30000.4000
57Hamline Elementary School482.04.00.1818NaNNaN0.08700.22730.13640.14710.3000
58Hamline Elementary School482.05.00.4773NaNNaN0.32000.41670.55000.36670.7143
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "6 Battle Creek Elementary School 422.0 3.0 0.2769 0.1 \n", "7 Battle Creek Elementary School 422.0 4.0 0.2877 NaN \n", "8 Battle Creek Elementary School 422.0 5.0 0.5077 NaN \n", "15 Cherokee Heights Elementary School 428.0 3.0 0.1212 NaN \n", "16 Cherokee Heights Elementary School 428.0 4.0 0.1935 NaN \n", "17 Cherokee Heights Elementary School 428.0 5.0 0.3333 NaN \n", "30 Eastern Heights Elementary 452.0 3.0 0.2439 NaN \n", "31 Eastern Heights Elementary 452.0 4.0 0.2553 NaN \n", "32 Eastern Heights Elementary 452.0 5.0 0.3333 NaN \n", "33 Farnsworth Aerospace Lower 458.0 3.0 0.3232 NaN \n", "34 Farnsworth Aerospace Lower 458.0 4.0 0.3271 NaN \n", "56 Hamline Elementary School 482.0 3.0 0.3333 NaN \n", "57 Hamline Elementary School 482.0 4.0 0.1818 NaN \n", "58 Hamline Elementary School 482.0 5.0 0.4773 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "6 0.3091 0.2692 0.2727 0.2813 0.2364 0.5000 \n", "7 NaN 0.3000 0.3103 0.2727 0.2593 0.3684 \n", "8 NaN 0.4211 0.4651 0.5909 0.4667 0.6000 \n", "15 NaN NaN 0.0588 0.1875 0.0769 NaN \n", "16 NaN NaN 0.2667 0.1250 0.2000 NaN \n", "17 NaN NaN 0.3846 0.2857 0.3478 NaN \n", "30 NaN 0.1538 0.1600 0.3750 0.2000 0.3636 \n", "31 NaN NaN 0.3200 0.1818 0.1944 0.4545 \n", "32 NaN NaN 0.3462 0.3200 0.1795 0.8333 \n", "33 NaN 0.5000 0.3710 0.2432 0.2917 0.4074 \n", "34 NaN 0.0000 0.3115 0.3478 0.2821 0.4483 \n", "56 NaN 0.2500 0.3913 0.2727 0.3000 0.4000 \n", "57 NaN 0.0870 0.2273 0.1364 0.1471 0.3000 \n", "58 NaN 0.3200 0.4167 0.5500 0.3667 0.7143 " ] }, "execution_count": 42, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (428,458,422,482,452)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem5.png)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "Math.query('Num in (428,458,422,482,452)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 40, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
2Battle Creek Elementary School422.050.4154NaNNaN0.31580.37210.50000.40000.4500
5Cherokee Heights Elementary School428.050.1481NaNNaNNaN0.23080.07140.1739NaN
10Eastern Heights Elementary452.050.2000NaNNaNNaN0.26920.12500.13160.4167
18Hamline Elementary School482.050.2045NaNNaN0.12000.25000.15000.13330.3571
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "2 Battle Creek Elementary School 422.0 5 0.4154 NaN \n", "5 Cherokee Heights Elementary School 428.0 5 0.1481 NaN \n", "10 Eastern Heights Elementary 452.0 5 0.2000 NaN \n", "18 Hamline Elementary School 482.0 5 0.2045 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "2 NaN 0.3158 0.3721 0.5000 0.4000 0.4500 \n", "5 NaN NaN 0.2308 0.0714 0.1739 NaN \n", "10 NaN NaN 0.2692 0.1250 0.1316 0.4167 \n", "18 NaN 0.1200 0.2500 0.1500 0.1333 0.3571 " ] }, "execution_count": 40, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (428,458,422,482,452)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 6\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
6431.0Como Park Elementary451.053.6611.7525.5044.3577.83%44.79%22.84%1.33%
12460.0Four Seasons Elementary462.047.1912.7745.6716.0280.09%34.85%16.88%3.46%
15464.0Frost Lake Elementary School535.051.595.9822.0652.5276.64%53.08%14.77%0.93%
17466.0Crossroads Science Program290.051.729.6644.8326.9076.21%29.66%15.17%1.03%
38551.0Riverview West School Of Excellence391.051.417.6720.203.5876.73%50.38%12.02%1.28%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "6 431.0 Como Park Elementary 451.0 53.66 11.75 \n", "12 460.0 Four Seasons Elementary 462.0 47.19 12.77 \n", "15 464.0 Frost Lake Elementary School 535.0 51.59 5.98 \n", "17 466.0 Crossroads Science Program 290.0 51.72 9.66 \n", "38 551.0 Riverview West School Of Excellence 391.0 51.41 7.67 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "6 25.50 44.35 77.83% 44.79% 22.84% 1.33% \n", "12 45.67 16.02 80.09% 34.85% 16.88% 3.46% \n", "15 22.06 52.52 76.64% 53.08% 14.77% 0.93% \n", "17 44.83 26.90 76.21% 29.66% 15.17% 1.03% \n", "38 20.20 3.58 76.73% 50.38% 12.02% 1.28% " ] }, "execution_count": 19, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (466,464,551,431,460)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem6.png)" ] }, { "cell_type": "code", "execution_count": 39, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
18Como Park Elementary431.03.00.2154NaNNaN0.15000.14710.29030.20000.3000
19Como Park Elementary431.04.00.4667NaNNaN0.46150.40910.54840.40980.7143
20Como Park Elementary431.05.00.48610.66670.43860.42860.44120.52630.41820.7059
35Four Seasons Elementary460.03.00.1250NaNNaN0.10340.07890.17650.10170.2308
36Four Seasons Elementary460.04.00.15380.25000.12900.21430.11900.19440.15000.1667
37Four Seasons Elementary460.05.00.1733NaNNaN0.16220.12900.20450.14750.2857
41Frost Lake Elementary School464.03.00.2000NaNNaN0.22730.18920.20930.18750.2500
42Frost Lake Elementary School464.04.00.2250NaNNaN0.07690.16280.29730.20000.4000
43Frost Lake Elementary School464.05.00.3291NaNNaN0.28000.25640.40000.34850.2308
47Crossroads Science Program466.03.00.3864NaNNaN0.29170.31250.42860.35480.4615
48Crossroads Science Program466.04.00.3137NaNNaN0.36840.32260.30000.25000.4667
49Crossroads Science Program466.05.00.3529NaNNaN0.11540.33330.37500.2791NaN
116Riverview West School Of Excellence551.03.00.1525NaNNaN0.20000.15630.14810.14890.1667
117Riverview West School Of Excellence551.04.00.2373NaNNaN0.50000.30000.17240.23260.2500
118Riverview West School Of Excellence551.05.00.1765NaNNaN0.15380.19050.16670.16220.2143
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "18 Como Park Elementary 431.0 3.0 0.2154 NaN \n", "19 Como Park Elementary 431.0 4.0 0.4667 NaN \n", "20 Como Park Elementary 431.0 5.0 0.4861 0.6667 \n", "35 Four Seasons Elementary 460.0 3.0 0.1250 NaN \n", "36 Four Seasons Elementary 460.0 4.0 0.1538 0.2500 \n", "37 Four Seasons Elementary 460.0 5.0 0.1733 NaN \n", "41 Frost Lake Elementary School 464.0 3.0 0.2000 NaN \n", "42 Frost Lake Elementary School 464.0 4.0 0.2250 NaN \n", "43 Frost Lake Elementary School 464.0 5.0 0.3291 NaN \n", "47 Crossroads Science Program 466.0 3.0 0.3864 NaN \n", "48 Crossroads Science Program 466.0 4.0 0.3137 NaN \n", "49 Crossroads Science Program 466.0 5.0 0.3529 NaN \n", "116 Riverview West School Of Excellence 551.0 3.0 0.1525 NaN \n", "117 Riverview West School Of Excellence 551.0 4.0 0.2373 NaN \n", "118 Riverview West School Of Excellence 551.0 5.0 0.1765 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "18 NaN 0.1500 0.1471 0.2903 0.2000 0.3000 \n", "19 NaN 0.4615 0.4091 0.5484 0.4098 0.7143 \n", "20 0.4386 0.4286 0.4412 0.5263 0.4182 0.7059 \n", "35 NaN 0.1034 0.0789 0.1765 0.1017 0.2308 \n", "36 0.1290 0.2143 0.1190 0.1944 0.1500 0.1667 \n", "37 NaN 0.1622 0.1290 0.2045 0.1475 0.2857 \n", "41 NaN 0.2273 0.1892 0.2093 0.1875 0.2500 \n", "42 NaN 0.0769 0.1628 0.2973 0.2000 0.4000 \n", "43 NaN 0.2800 0.2564 0.4000 0.3485 0.2308 \n", "47 NaN 0.2917 0.3125 0.4286 0.3548 0.4615 \n", "48 NaN 0.3684 0.3226 0.3000 0.2500 0.4667 \n", "49 NaN 0.1154 0.3333 0.3750 0.2791 NaN \n", "116 NaN 0.2000 0.1563 0.1481 0.1489 0.1667 \n", "117 NaN 0.5000 0.3000 0.1724 0.2326 0.2500 \n", "118 NaN 0.1538 0.1905 0.1667 0.1622 0.2143 " ] }, "execution_count": 39, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (466,464,551,431,460)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem6.png)" ] }, { "cell_type": "code", "execution_count": 38, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
18Como Park Elementary431.03.00.2769NaNNaN0.20000.35290.19350.23640.5000
19Como Park Elementary431.04.00.5067NaNNaN0.30770.45450.58060.44260.7857
20Como Park Elementary431.05.00.43660.78570.35090.23080.35290.51350.37040.6471
35Four Seasons Elementary460.03.00.1528NaNNaN0.13790.18420.11760.11860.3077
36Four Seasons Elementary460.04.00.16670.31250.12900.17860.07140.27780.16670.1667
37Four Seasons Elementary460.05.00.1333NaNNaN0.08110.16130.11360.11480.2143
41Frost Lake Elementary School464.03.00.2250NaNNaN0.31820.24320.20930.18750.3750
42Frost Lake Elementary School464.04.00.2625NaNNaN0.00000.27910.24320.22860.5000
43Frost Lake Elementary School464.05.00.2179NaNNaN0.20000.23680.20000.21540.2308
47Crossroads Science Program466.03.00.3810NaNNaN0.26090.53330.29630.36670.4167
48Crossroads Science Program466.04.00.5882NaNNaN0.63160.67740.45000.55560.6667
49Crossroads Science Program466.05.00.2549NaNNaN0.20000.25000.26090.2045NaN
116Riverview West School Of Excellence551.03.00.1250NaNNaN0.07140.13330.11540.13040.1000
117Riverview West School Of Excellence551.04.00.1552NaNNaN0.20000.13330.17860.14290.1875
118Riverview West School Of Excellence551.05.00.0612NaNNaN0.08330.15000.00000.08570.0000
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "18 Como Park Elementary 431.0 3.0 0.2769 NaN \n", "19 Como Park Elementary 431.0 4.0 0.5067 NaN \n", "20 Como Park Elementary 431.0 5.0 0.4366 0.7857 \n", "35 Four Seasons Elementary 460.0 3.0 0.1528 NaN \n", "36 Four Seasons Elementary 460.0 4.0 0.1667 0.3125 \n", "37 Four Seasons Elementary 460.0 5.0 0.1333 NaN \n", "41 Frost Lake Elementary School 464.0 3.0 0.2250 NaN \n", "42 Frost Lake Elementary School 464.0 4.0 0.2625 NaN \n", "43 Frost Lake Elementary School 464.0 5.0 0.2179 NaN \n", "47 Crossroads Science Program 466.0 3.0 0.3810 NaN \n", "48 Crossroads Science Program 466.0 4.0 0.5882 NaN \n", "49 Crossroads Science Program 466.0 5.0 0.2549 NaN \n", "116 Riverview West School Of Excellence 551.0 3.0 0.1250 NaN \n", "117 Riverview West School Of Excellence 551.0 4.0 0.1552 NaN \n", "118 Riverview West School Of Excellence 551.0 5.0 0.0612 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "18 NaN 0.2000 0.3529 0.1935 0.2364 0.5000 \n", "19 NaN 0.3077 0.4545 0.5806 0.4426 0.7857 \n", "20 0.3509 0.2308 0.3529 0.5135 0.3704 0.6471 \n", "35 NaN 0.1379 0.1842 0.1176 0.1186 0.3077 \n", "36 0.1290 0.1786 0.0714 0.2778 0.1667 0.1667 \n", "37 NaN 0.0811 0.1613 0.1136 0.1148 0.2143 \n", "41 NaN 0.3182 0.2432 0.2093 0.1875 0.3750 \n", "42 NaN 0.0000 0.2791 0.2432 0.2286 0.5000 \n", "43 NaN 0.2000 0.2368 0.2000 0.2154 0.2308 \n", "47 NaN 0.2609 0.5333 0.2963 0.3667 0.4167 \n", "48 NaN 0.6316 0.6774 0.4500 0.5556 0.6667 \n", "49 NaN 0.2000 0.2500 0.2609 0.2045 NaN \n", "116 NaN 0.0714 0.1333 0.1154 0.1304 0.1000 \n", "117 NaN 0.2000 0.1333 0.1786 0.1429 0.1875 \n", "118 NaN 0.0833 0.1500 0.0000 0.0857 0.0000 " ] }, "execution_count": 38, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (466,464,551,431,460)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 37, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
6Como Park Elementary431.050.23940.50.17540.30770.20590.27030.20370.3529
11Four Seasons Elementary460.050.1067NaNNaN0.08110.06450.13640.06560.2857
13Frost Lake Elementary School464.050.1646NaNNaN0.08330.17950.15000.16670.1538
15Crossroads Science Program466.050.2041NaNNaN0.08000.21430.19050.1429NaN
38Riverview West School Of Excellence551.050.0800NaNNaN0.07690.09520.06900.08330.0714
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "6 Como Park Elementary 431.0 5 0.2394 0.5 \n", "11 Four Seasons Elementary 460.0 5 0.1067 NaN \n", "13 Frost Lake Elementary School 464.0 5 0.1646 NaN \n", "15 Crossroads Science Program 466.0 5 0.2041 NaN \n", "38 Riverview West School Of Excellence 551.0 5 0.0800 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "6 0.1754 0.3077 0.2059 0.2703 0.2037 0.3529 \n", "11 NaN 0.0811 0.0645 0.1364 0.0656 0.2857 \n", "13 NaN 0.0833 0.1795 0.1500 0.1667 0.1538 \n", "15 NaN 0.0800 0.2143 0.1905 0.1429 NaN \n", "38 NaN 0.0769 0.0952 0.0690 0.0833 0.0714 " ] }, "execution_count": 37, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (466,464,551,431,460)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 7\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 36, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
3424.0Benjamin E Mays Magnet406.057.643.6966.7514.2980.54%24.63%20.94%3.94%
7433.0Daytons Bluff Elementary328.053.0510.0638.7226.2281.71%28.66%17.07%6.40%
28500.0Jackson Preparatory Elementary311.054.341.9326.0561.7480.39%59.49%10.29%0.64%
31524.0Maxfield Elementary School282.048.945.3262.776.7481.21%9.57%15.60%13.12%
36541.0Phalen Lake Hmong Studies Magnet651.052.230.923.8487.8680.49%70.05%6.91%0.15%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "3 424.0 Benjamin E Mays Magnet 406.0 57.64 3.69 \n", "7 433.0 Daytons Bluff Elementary 328.0 53.05 10.06 \n", "28 500.0 Jackson Preparatory Elementary 311.0 54.34 1.93 \n", "31 524.0 Maxfield Elementary School 282.0 48.94 5.32 \n", "36 541.0 Phalen Lake Hmong Studies Magnet 651.0 52.23 0.92 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "3 66.75 14.29 80.54% 24.63% 20.94% 3.94% \n", "7 38.72 26.22 81.71% 28.66% 17.07% 6.40% \n", "28 26.05 61.74 80.39% 59.49% 10.29% 0.64% \n", "31 62.77 6.74 81.21% 9.57% 15.60% 13.12% \n", "36 3.84 87.86 80.49% 70.05% 6.91% 0.15% " ] }, "execution_count": 36, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (500,541,424,524,433)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem7.png)" ] }, { "cell_type": "code", "execution_count": 35, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
9Benjamin E Mays Magnet424.03.00.1695NaNNaN0.18180.17240.16670.1600NaN
10Benjamin E Mays Magnet424.04.00.1250NaNNaN0.07320.07140.17860.1489NaN
11Benjamin E Mays Magnet424.05.00.2879NaNNaN0.26670.27910.30430.25930.4167
21Daytons Bluff Elementary433.03.00.1800NaNNaN0.15790.23330.10000.2195NaN
22Daytons Bluff Elementary433.04.00.1628NaNNaN0.11110.13040.20000.1471NaN
23Daytons Bluff Elementary433.05.00.2041NaNNaN0.11540.16670.26320.1860NaN
86Jackson Preparatory Elementary500.03.00.1905NaNNaNNaN0.22730.15000.1667NaN
87Jackson Preparatory Elementary500.04.00.1091NaNNaN0.17650.11540.10340.0851NaN
88Jackson Preparatory Elementary500.05.00.3725NaNNaN0.25000.30770.44000.3111NaN
94Maxfield Elementary School524.03.00.0455NaNNaN0.03850.05560.03850.0278NaN
95Maxfield Elementary School524.04.00.2368NaNNaN0.22220.24000.23080.2424NaN
96Maxfield Elementary School524.05.00.2381NaNNaN0.21880.20000.25930.2424NaN
110Phalen Lake Hmong Studies Magnet541.03.00.2857NaNNaNNaN0.23530.34040.27270.3333
111Phalen Lake Hmong Studies Magnet541.04.00.2826NaNNaNNaN0.24530.33330.26920.3571
112Phalen Lake Hmong Studies Magnet541.05.00.4124NaNNaNNaN0.34090.47170.40240.4667
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "9 Benjamin E Mays Magnet 424.0 3.0 0.1695 NaN \n", "10 Benjamin E Mays Magnet 424.0 4.0 0.1250 NaN \n", "11 Benjamin E Mays Magnet 424.0 5.0 0.2879 NaN \n", "21 Daytons Bluff Elementary 433.0 3.0 0.1800 NaN \n", "22 Daytons Bluff Elementary 433.0 4.0 0.1628 NaN \n", "23 Daytons Bluff Elementary 433.0 5.0 0.2041 NaN \n", "86 Jackson Preparatory Elementary 500.0 3.0 0.1905 NaN \n", "87 Jackson Preparatory Elementary 500.0 4.0 0.1091 NaN \n", "88 Jackson Preparatory Elementary 500.0 5.0 0.3725 NaN \n", "94 Maxfield Elementary School 524.0 3.0 0.0455 NaN \n", "95 Maxfield Elementary School 524.0 4.0 0.2368 NaN \n", "96 Maxfield Elementary School 524.0 5.0 0.2381 NaN \n", "110 Phalen Lake Hmong Studies Magnet 541.0 3.0 0.2857 NaN \n", "111 Phalen Lake Hmong Studies Magnet 541.0 4.0 0.2826 NaN \n", "112 Phalen Lake Hmong Studies Magnet 541.0 5.0 0.4124 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "9 NaN 0.1818 0.1724 0.1667 0.1600 NaN \n", "10 NaN 0.0732 0.0714 0.1786 0.1489 NaN \n", "11 NaN 0.2667 0.2791 0.3043 0.2593 0.4167 \n", "21 NaN 0.1579 0.2333 0.1000 0.2195 NaN \n", "22 NaN 0.1111 0.1304 0.2000 0.1471 NaN \n", "23 NaN 0.1154 0.1667 0.2632 0.1860 NaN \n", "86 NaN NaN 0.2273 0.1500 0.1667 NaN \n", "87 NaN 0.1765 0.1154 0.1034 0.0851 NaN \n", "88 NaN 0.2500 0.3077 0.4400 0.3111 NaN \n", "94 NaN 0.0385 0.0556 0.0385 0.0278 NaN \n", "95 NaN 0.2222 0.2400 0.2308 0.2424 NaN \n", "96 NaN 0.2188 0.2000 0.2593 0.2424 NaN \n", "110 NaN NaN 0.2353 0.3404 0.2727 0.3333 \n", "111 NaN NaN 0.2453 0.3333 0.2692 0.3571 \n", "112 NaN NaN 0.3409 0.4717 0.4024 0.4667 " ] }, "execution_count": 35, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (500,541,424,524,433)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem7.png)" ] }, { "cell_type": "code", "execution_count": 34, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
9Benjamin E Mays Magnet424.03.00.2586NaNNaN0.22220.20000.32140.2245NaN
10Benjamin E Mays Magnet424.04.00.1852NaNNaN0.15380.11110.25930.1778NaN
11Benjamin E Mays Magnet424.05.00.0635NaNNaN0.02380.07140.04760.05880.0833
21Daytons Bluff Elementary433.03.00.2041NaNNaN0.15790.27590.10000.2000NaN
22Daytons Bluff Elementary433.04.00.2093NaNNaN0.11110.17390.25000.2059NaN
23Daytons Bluff Elementary433.05.00.1250NaNNaN0.03850.13790.10530.1190NaN
86Jackson Preparatory Elementary500.03.00.2683NaNNaNNaN0.38100.15000.2286NaN
87Jackson Preparatory Elementary500.04.00.1273NaNNaN0.11760.26920.00000.0851NaN
88Jackson Preparatory Elementary500.05.00.1569NaNNaN0.00000.19230.12000.1111NaN
94Maxfield Elementary School524.03.00.1818NaNNaN0.07690.27780.11540.1944NaN
95Maxfield Elementary School524.04.00.1579NaNNaN0.14810.20000.07690.1515NaN
96Maxfield Elementary School524.05.00.0952NaNNaN0.06250.06670.11110.0909NaN
110Phalen Lake Hmong Studies Magnet541.03.00.4286NaNNaNNaN0.41180.44680.42860.4286
111Phalen Lake Hmong Studies Magnet541.04.00.3696NaNNaNNaN0.41510.30770.38460.2857
112Phalen Lake Hmong Studies Magnet541.05.00.3367NaNNaNNaN0.38640.29630.30120.5333
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "9 Benjamin E Mays Magnet 424.0 3.0 0.2586 NaN \n", "10 Benjamin E Mays Magnet 424.0 4.0 0.1852 NaN \n", "11 Benjamin E Mays Magnet 424.0 5.0 0.0635 NaN \n", "21 Daytons Bluff Elementary 433.0 3.0 0.2041 NaN \n", "22 Daytons Bluff Elementary 433.0 4.0 0.2093 NaN \n", "23 Daytons Bluff Elementary 433.0 5.0 0.1250 NaN \n", "86 Jackson Preparatory Elementary 500.0 3.0 0.2683 NaN \n", "87 Jackson Preparatory Elementary 500.0 4.0 0.1273 NaN \n", "88 Jackson Preparatory Elementary 500.0 5.0 0.1569 NaN \n", "94 Maxfield Elementary School 524.0 3.0 0.1818 NaN \n", "95 Maxfield Elementary School 524.0 4.0 0.1579 NaN \n", "96 Maxfield Elementary School 524.0 5.0 0.0952 NaN \n", "110 Phalen Lake Hmong Studies Magnet 541.0 3.0 0.4286 NaN \n", "111 Phalen Lake Hmong Studies Magnet 541.0 4.0 0.3696 NaN \n", "112 Phalen Lake Hmong Studies Magnet 541.0 5.0 0.3367 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "9 NaN 0.2222 0.2000 0.3214 0.2245 NaN \n", "10 NaN 0.1538 0.1111 0.2593 0.1778 NaN \n", "11 NaN 0.0238 0.0714 0.0476 0.0588 0.0833 \n", "21 NaN 0.1579 0.2759 0.1000 0.2000 NaN \n", "22 NaN 0.1111 0.1739 0.2500 0.2059 NaN \n", "23 NaN 0.0385 0.1379 0.1053 0.1190 NaN \n", "86 NaN NaN 0.3810 0.1500 0.2286 NaN \n", "87 NaN 0.1176 0.2692 0.0000 0.0851 NaN \n", "88 NaN 0.0000 0.1923 0.1200 0.1111 NaN \n", "94 NaN 0.0769 0.2778 0.1154 0.1944 NaN \n", "95 NaN 0.1481 0.2000 0.0769 0.1515 NaN \n", "96 NaN 0.0625 0.0667 0.1111 0.0909 NaN \n", "110 NaN NaN 0.4118 0.4468 0.4286 0.4286 \n", "111 NaN NaN 0.4151 0.3077 0.3846 0.2857 \n", "112 NaN NaN 0.3864 0.2963 0.3012 0.5333 " ] }, "execution_count": 34, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (500,541,424,524,433)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 33, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
3Benjamin E Mays Magnet424.050.0923NaNNaN0.06820.11630.04550.05660.2500
7Daytons Bluff Elementary433.050.1064NaNNaN0.04000.10710.10530.1220NaN
28Jackson Preparatory Elementary500.050.2157NaNNaN0.12500.23080.20000.1333NaN
30Maxfield Elementary School524.050.0750NaNNaN0.00000.00000.12000.0968NaN
36Phalen Lake Hmong Studies Magnet541.050.1753NaNNaNNaN0.18180.16980.18290.1333
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "3 Benjamin E Mays Magnet 424.0 5 0.0923 NaN \n", "7 Daytons Bluff Elementary 433.0 5 0.1064 NaN \n", "28 Jackson Preparatory Elementary 500.0 5 0.2157 NaN \n", "30 Maxfield Elementary School 524.0 5 0.0750 NaN \n", "36 Phalen Lake Hmong Studies Magnet 541.0 5 0.1753 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "3 NaN 0.0682 0.1163 0.0455 0.0566 0.2500 \n", "7 NaN 0.0400 0.1071 0.1053 0.1220 NaN \n", "28 NaN 0.1250 0.2308 0.2000 0.1333 NaN \n", "30 NaN 0.0000 0.0000 0.1200 0.0968 NaN \n", "36 NaN NaN 0.1818 0.1698 0.1829 0.1333 " ] }, "execution_count": 33, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (500,541,424,524,433)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 8\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 32, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
27496.0Highwood Hills Elementary283.049.823.5362.9021.5582.69%57.24%8.13%1.77%
32527.0Mississippi Creative Arts Elementary619.050.897.5921.3253.9685.95%54.93%13.41%2.58%
39552.0Paul & Sheila Wellstone Elementary537.051.965.0321.9716.9581.94%59.03%17.13%1.86%
42578.0Obama Service Learning Elementary367.054.506.2769.218.1784.20%14.17%15.80%7.08%
43579.0American Indian Magnet School642.051.565.1417.2926.7981.93%28.50%18.85%3.74%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "27 496.0 Highwood Hills Elementary 283.0 49.82 3.53 \n", "32 527.0 Mississippi Creative Arts Elementary 619.0 50.89 7.59 \n", "39 552.0 Paul & Sheila Wellstone Elementary 537.0 51.96 5.03 \n", "42 578.0 Obama Service Learning Elementary 367.0 54.50 6.27 \n", "43 579.0 American Indian Magnet School 642.0 51.56 5.14 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "27 62.90 21.55 82.69% 57.24% 8.13% 1.77% \n", "32 21.32 53.96 85.95% 54.93% 13.41% 2.58% \n", "39 21.97 16.95 81.94% 59.03% 17.13% 1.86% \n", "42 69.21 8.17 84.20% 14.17% 15.80% 7.08% \n", "43 17.29 26.79 81.93% 28.50% 18.85% 3.74% " ] }, "execution_count": 32, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (579,552,496,578,527)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem8.png)" ] }, { "cell_type": "code", "execution_count": 31, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
83Highwood Hills Elementary496.03.00.0541NaNNaN0.05880.09520.00000.0667NaN
84Highwood Hills Elementary496.04.00.1750NaNNaN0.20830.04550.33330.1429NaN
85Highwood Hills Elementary496.05.00.4167NaNNaN0.47370.31250.50000.4118NaN
97Mississippi Creative Arts Elementary527.03.00.1720NaNNaN0.10000.20000.13950.17280.1667
98Mississippi Creative Arts Elementary527.04.00.1683NaNNaN0.17390.18600.15520.16480.2000
99Mississippi Creative Arts Elementary527.05.00.4430NaNNaN0.47620.42860.45450.44120.4545
119Paul & Sheila Wellstone Elementary552.03.00.2048NaNNaN0.10000.15000.25580.11590.6429
120Paul & Sheila Wellstone Elementary552.04.00.2118NaNNaN0.15000.20510.21740.18670.4000
121Paul & Sheila Wellstone Elementary552.05.00.3548NaNNaN0.33330.46300.20510.31170.5625
128Obama Service Learning Elementary578.03.00.1818NaNNaN0.16670.23530.12500.1786NaN
129Obama Service Learning Elementary578.04.00.1481NaNNaN0.12200.14810.14810.1556NaN
130Obama Service Learning Elementary578.05.00.1739NaNNaN0.18750.21740.13040.1818NaN
131American Indian Magnet School579.03.00.0290NaNNaNNaN0.02440.03570.01850.0667
132American Indian Magnet School579.04.00.0606NaNNaN0.00000.00000.13790.07410.0000
133American Indian Magnet School579.05.00.1791NaNNaN0.00000.12500.22860.1613NaN
134American Indian Magnet School579.06.00.2286NaNNaN0.00000.21620.24240.21430.2857
135American Indian Magnet School579.07.00.1857NaNNaN0.16670.24320.12120.18180.2000
136American Indian Magnet School579.08.00.3000NaNNaNNaN0.28570.31820.3256NaN
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "83 Highwood Hills Elementary 496.0 3.0 0.0541 NaN \n", "84 Highwood Hills Elementary 496.0 4.0 0.1750 NaN \n", "85 Highwood Hills Elementary 496.0 5.0 0.4167 NaN \n", "97 Mississippi Creative Arts Elementary 527.0 3.0 0.1720 NaN \n", "98 Mississippi Creative Arts Elementary 527.0 4.0 0.1683 NaN \n", "99 Mississippi Creative Arts Elementary 527.0 5.0 0.4430 NaN \n", "119 Paul & Sheila Wellstone Elementary 552.0 3.0 0.2048 NaN \n", "120 Paul & Sheila Wellstone Elementary 552.0 4.0 0.2118 NaN \n", "121 Paul & Sheila Wellstone Elementary 552.0 5.0 0.3548 NaN \n", "128 Obama Service Learning Elementary 578.0 3.0 0.1818 NaN \n", "129 Obama Service Learning Elementary 578.0 4.0 0.1481 NaN \n", "130 Obama Service Learning Elementary 578.0 5.0 0.1739 NaN \n", "131 American Indian Magnet School 579.0 3.0 0.0290 NaN \n", "132 American Indian Magnet School 579.0 4.0 0.0606 NaN \n", "133 American Indian Magnet School 579.0 5.0 0.1791 NaN \n", "134 American Indian Magnet School 579.0 6.0 0.2286 NaN \n", "135 American Indian Magnet School 579.0 7.0 0.1857 NaN \n", "136 American Indian Magnet School 579.0 8.0 0.3000 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "83 NaN 0.0588 0.0952 0.0000 0.0667 NaN \n", "84 NaN 0.2083 0.0455 0.3333 0.1429 NaN \n", "85 NaN 0.4737 0.3125 0.5000 0.4118 NaN \n", "97 NaN 0.1000 0.2000 0.1395 0.1728 0.1667 \n", "98 NaN 0.1739 0.1860 0.1552 0.1648 0.2000 \n", "99 NaN 0.4762 0.4286 0.4545 0.4412 0.4545 \n", "119 NaN 0.1000 0.1500 0.2558 0.1159 0.6429 \n", "120 NaN 0.1500 0.2051 0.2174 0.1867 0.4000 \n", "121 NaN 0.3333 0.4630 0.2051 0.3117 0.5625 \n", "128 NaN 0.1667 0.2353 0.1250 0.1786 NaN \n", "129 NaN 0.1220 0.1481 0.1481 0.1556 NaN \n", "130 NaN 0.1875 0.2174 0.1304 0.1818 NaN \n", "131 NaN NaN 0.0244 0.0357 0.0185 0.0667 \n", "132 NaN 0.0000 0.0000 0.1379 0.0741 0.0000 \n", "133 NaN 0.0000 0.1250 0.2286 0.1613 NaN \n", "134 NaN 0.0000 0.2162 0.2424 0.2143 0.2857 \n", "135 NaN 0.1667 0.2432 0.1212 0.1818 0.2000 \n", "136 NaN NaN 0.2857 0.3182 0.3256 NaN " ] }, "execution_count": 31, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (579,552,496,578,527)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem8.png)" ] }, { "cell_type": "code", "execution_count": 30, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
83Highwood Hills Elementary496.03.00.1081NaNNaN0.05880.14290.06250.1000NaN
84Highwood Hills Elementary496.04.00.3659NaNNaN0.41670.36360.36840.3333NaN
85Highwood Hills Elementary496.05.00.1389NaNNaN0.10530.18750.10000.1176NaN
97Mississippi Creative Arts Elementary527.03.00.2283NaNNaN0.15790.30610.13950.20990.3636
98Mississippi Creative Arts Elementary527.04.00.2157NaNNaN0.13040.22730.20690.23080.0909
99Mississippi Creative Arts Elementary527.05.00.3038NaNNaN0.23810.34290.27270.27940.4545
119Paul & Sheila Wellstone Elementary552.03.00.2169NaNNaN0.10000.22500.20930.14490.5714
120Paul & Sheila Wellstone Elementary552.04.00.1905NaNNaN0.10530.28210.11110.17570.3000
121Paul & Sheila Wellstone Elementary552.05.00.1789NaNNaN0.07140.25450.07500.15190.3125
128Obama Service Learning Elementary578.03.00.2581NaNNaN0.16670.25000.26670.2692NaN
129Obama Service Learning Elementary578.04.00.1481NaNNaN0.12200.14810.14810.1556NaN
130Obama Service Learning Elementary578.05.00.0652NaNNaN0.03130.08700.04350.0682NaN
131American Indian Magnet School579.03.00.1159NaNNaNNaN0.19510.00000.09260.2000
132American Indian Magnet School579.04.00.0758NaNNaN0.00000.10810.03450.09260.0000
133American Indian Magnet School579.05.00.0746NaNNaN0.00000.12500.02860.0806NaN
134American Indian Magnet School579.06.00.1000NaNNaN0.00000.16220.03030.07140.2143
135American Indian Magnet School579.07.00.0429NaNNaN0.00000.08110.00000.03640.0667
136American Indian Magnet School579.08.00.1200NaNNaNNaN0.10710.13640.1395NaN
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "83 Highwood Hills Elementary 496.0 3.0 0.1081 NaN \n", "84 Highwood Hills Elementary 496.0 4.0 0.3659 NaN \n", "85 Highwood Hills Elementary 496.0 5.0 0.1389 NaN \n", "97 Mississippi Creative Arts Elementary 527.0 3.0 0.2283 NaN \n", "98 Mississippi Creative Arts Elementary 527.0 4.0 0.2157 NaN \n", "99 Mississippi Creative Arts Elementary 527.0 5.0 0.3038 NaN \n", "119 Paul & Sheila Wellstone Elementary 552.0 3.0 0.2169 NaN \n", "120 Paul & Sheila Wellstone Elementary 552.0 4.0 0.1905 NaN \n", "121 Paul & Sheila Wellstone Elementary 552.0 5.0 0.1789 NaN \n", "128 Obama Service Learning Elementary 578.0 3.0 0.2581 NaN \n", "129 Obama Service Learning Elementary 578.0 4.0 0.1481 NaN \n", "130 Obama Service Learning Elementary 578.0 5.0 0.0652 NaN \n", "131 American Indian Magnet School 579.0 3.0 0.1159 NaN \n", "132 American Indian Magnet School 579.0 4.0 0.0758 NaN \n", "133 American Indian Magnet School 579.0 5.0 0.0746 NaN \n", "134 American Indian Magnet School 579.0 6.0 0.1000 NaN \n", "135 American Indian Magnet School 579.0 7.0 0.0429 NaN \n", "136 American Indian Magnet School 579.0 8.0 0.1200 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "83 NaN 0.0588 0.1429 0.0625 0.1000 NaN \n", "84 NaN 0.4167 0.3636 0.3684 0.3333 NaN \n", "85 NaN 0.1053 0.1875 0.1000 0.1176 NaN \n", "97 NaN 0.1579 0.3061 0.1395 0.2099 0.3636 \n", "98 NaN 0.1304 0.2273 0.2069 0.2308 0.0909 \n", "99 NaN 0.2381 0.3429 0.2727 0.2794 0.4545 \n", "119 NaN 0.1000 0.2250 0.2093 0.1449 0.5714 \n", "120 NaN 0.1053 0.2821 0.1111 0.1757 0.3000 \n", "121 NaN 0.0714 0.2545 0.0750 0.1519 0.3125 \n", "128 NaN 0.1667 0.2500 0.2667 0.2692 NaN \n", "129 NaN 0.1220 0.1481 0.1481 0.1556 NaN \n", "130 NaN 0.0313 0.0870 0.0435 0.0682 NaN \n", "131 NaN NaN 0.1951 0.0000 0.0926 0.2000 \n", "132 NaN 0.0000 0.1081 0.0345 0.0926 0.0000 \n", "133 NaN 0.0000 0.1250 0.0286 0.0806 NaN \n", "134 NaN 0.0000 0.1622 0.0303 0.0714 0.2143 \n", "135 NaN 0.0000 0.0811 0.0000 0.0364 0.0667 \n", "136 NaN NaN 0.1071 0.1364 0.1395 NaN " ] }, "execution_count": 30, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (579,552,496,578,527)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 29, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
27Highwood Hills Elementary496.050.1111NaNNaN0.05260.06250.15000.1176NaN
31Mississippi Creative Arts Elementary527.050.1899NaNNaN0.14290.22860.15910.16180.3636
39Paul & Sheila Wellstone Elementary552.050.1809NaNNaN0.15380.25450.07690.14100.3750
42Obama Service Learning Elementary578.050.0435NaNNaN0.03130.04350.04350.0455NaN
43American Indian Magnet School579.050.0441NaNNaN0.00000.06060.02860.0476NaN
44American Indian Magnet School579.080.1569NaNNaN0.00000.14290.17390.1818NaN
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "27 Highwood Hills Elementary 496.0 5 0.1111 NaN \n", "31 Mississippi Creative Arts Elementary 527.0 5 0.1899 NaN \n", "39 Paul & Sheila Wellstone Elementary 552.0 5 0.1809 NaN \n", "42 Obama Service Learning Elementary 578.0 5 0.0435 NaN \n", "43 American Indian Magnet School 579.0 5 0.0441 NaN \n", "44 American Indian Magnet School 579.0 8 0.1569 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "27 NaN 0.0526 0.0625 0.1500 0.1176 NaN \n", "31 NaN 0.1429 0.2286 0.1591 0.1618 0.3636 \n", "39 NaN 0.1538 0.2545 0.0769 0.1410 0.3750 \n", "42 NaN 0.0313 0.0435 0.0435 0.0455 NaN \n", "43 NaN 0.0000 0.0606 0.0286 0.0476 NaN \n", "44 NaN 0.0000 0.1429 0.1739 0.1818 NaN " ] }, "execution_count": 29, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (579,552,496,578,527)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ES Group 9\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 28, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
1415.0John A. Johnson Achievement Plus El.375.046.937.7342.4027.2086.13%31.73%13.87%6.93%
9449.0Bruce F Vento Elementary514.049.813.3125.4957.3989.30%54.86%11.48%3.70%
23489.0Hazel Park Preparatory Academy588.051.875.2742.8631.1287.41%24.49%13.61%4.42%
41558.0Saint Paul Music Academy637.048.193.4521.1957.3088.38%58.24%13.50%1.26%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "1 415.0 John A. Johnson Achievement Plus El. 375.0 46.93 7.73 \n", "9 449.0 Bruce F Vento Elementary 514.0 49.81 3.31 \n", "23 489.0 Hazel Park Preparatory Academy 588.0 51.87 5.27 \n", "41 558.0 Saint Paul Music Academy 637.0 48.19 3.45 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "1 42.40 27.20 86.13% 31.73% 13.87% 6.93% \n", "9 25.49 57.39 89.30% 54.86% 11.48% 3.70% \n", "23 42.86 31.12 87.41% 24.49% 13.61% 4.42% \n", "41 21.19 57.30 88.38% 58.24% 13.50% 1.26% " ] }, "execution_count": 28, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (415,558,449,489)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data\n", "\n", "![title](Graphs/R_Elem9.png)" ] }, { "cell_type": "code", "execution_count": 27, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
3John A. Johnson Achievement Plus El.415.03.00.2000NaNNaN0.16670.30000.14290.2174NaN
4John A. Johnson Achievement Plus El.415.04.00.0816NaNNaN0.10000.10710.04760.0638NaN
5John A. Johnson Achievement Plus El.415.05.00.3077NaNNaN0.29410.26920.34620.3043NaN
27Bruce F Vento Elementary449.03.00.1216NaNNaN0.12500.11430.12820.1029NaN
28Bruce F Vento Elementary449.04.00.1831NaNNaN0.10000.23080.12500.1774NaN
29Bruce F Vento Elementary449.05.00.3494NaNNaN0.38460.31250.40000.3462NaN
65Hazel Park Preparatory Academy489.03.00.3261NaNNaN0.29170.19050.44000.2927NaN
66Hazel Park Preparatory Academy489.04.00.1509NaNNaN0.00000.16130.13640.1458NaN
67Hazel Park Preparatory Academy489.05.00.1887NaNNaN0.15380.22220.15380.1961NaN
68Hazel Park Preparatory Academy489.06.00.1553NaNNaN0.14810.09090.22920.14130.2727
69Hazel Park Preparatory Academy489.07.00.2062NaNNaN0.07140.21430.19510.19050.3077
70Hazel Park Preparatory Academy489.08.00.3023NaNNaN0.12900.27500.32610.27030.5000
125Saint Paul Music Academy558.03.00.3441NaNNaN0.40910.34780.34040.30120.7000
126Saint Paul Music Academy558.04.00.2381NaNNaN0.15000.24000.23640.21740.3846
127Saint Paul Music Academy558.05.00.3727NaNNaN0.30770.35560.38460.3627NaN
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "3 John A. Johnson Achievement Plus El. 415.0 3.0 0.2000 NaN \n", "4 John A. Johnson Achievement Plus El. 415.0 4.0 0.0816 NaN \n", "5 John A. Johnson Achievement Plus El. 415.0 5.0 0.3077 NaN \n", "27 Bruce F Vento Elementary 449.0 3.0 0.1216 NaN \n", "28 Bruce F Vento Elementary 449.0 4.0 0.1831 NaN \n", "29 Bruce F Vento Elementary 449.0 5.0 0.3494 NaN \n", "65 Hazel Park Preparatory Academy 489.0 3.0 0.3261 NaN \n", "66 Hazel Park Preparatory Academy 489.0 4.0 0.1509 NaN \n", "67 Hazel Park Preparatory Academy 489.0 5.0 0.1887 NaN \n", "68 Hazel Park Preparatory Academy 489.0 6.0 0.1553 NaN \n", "69 Hazel Park Preparatory Academy 489.0 7.0 0.2062 NaN \n", "70 Hazel Park Preparatory Academy 489.0 8.0 0.3023 NaN \n", "125 Saint Paul Music Academy 558.0 3.0 0.3441 NaN \n", "126 Saint Paul Music Academy 558.0 4.0 0.2381 NaN \n", "127 Saint Paul Music Academy 558.0 5.0 0.3727 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "3 NaN 0.1667 0.3000 0.1429 0.2174 NaN \n", "4 NaN 0.1000 0.1071 0.0476 0.0638 NaN \n", "5 NaN 0.2941 0.2692 0.3462 0.3043 NaN \n", "27 NaN 0.1250 0.1143 0.1282 0.1029 NaN \n", "28 NaN 0.1000 0.2308 0.1250 0.1774 NaN \n", "29 NaN 0.3846 0.3125 0.4000 0.3462 NaN \n", "65 NaN 0.2917 0.1905 0.4400 0.2927 NaN \n", "66 NaN 0.0000 0.1613 0.1364 0.1458 NaN \n", "67 NaN 0.1538 0.2222 0.1538 0.1961 NaN \n", "68 NaN 0.1481 0.0909 0.2292 0.1413 0.2727 \n", "69 NaN 0.0714 0.2143 0.1951 0.1905 0.3077 \n", "70 NaN 0.1290 0.2750 0.3261 0.2703 0.5000 \n", "125 NaN 0.4091 0.3478 0.3404 0.3012 0.7000 \n", "126 NaN 0.1500 0.2400 0.2364 0.2174 0.3846 \n", "127 NaN 0.3077 0.3556 0.3846 0.3627 NaN " ] }, "execution_count": 27, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (415,558,449,489)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data\n", "\n", "![title](Graphs/M_Elem9.png)" ] }, { "cell_type": "code", "execution_count": 25, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
3John A. Johnson Achievement Plus El.415.03.00.1636NaNNaN0.10000.35000.05710.1739NaN
4John A. Johnson Achievement Plus El.415.04.00.1200NaNNaN0.05000.13790.09520.1250NaN
5John A. Johnson Achievement Plus El.415.05.00.1321NaNNaN0.16670.07690.18520.1489NaN
27Bruce F Vento Elementary449.03.00.2466NaNNaN0.25000.28570.21050.2537NaN
28Bruce F Vento Elementary449.04.00.2464NaNNaN0.11110.27030.21880.2333NaN
29Bruce F Vento Elementary449.05.00.2771NaNNaN0.23080.27080.28570.2692NaN
65Hazel Park Preparatory Academy489.03.00.3333NaNNaN0.26090.45000.24000.3250NaN
66Hazel Park Preparatory Academy489.04.00.2453NaNNaN0.04170.32260.13640.2500NaN
67Hazel Park Preparatory Academy489.05.00.0377NaNNaN0.00000.03700.03850.0392NaN
68Hazel Park Preparatory Academy489.06.00.0693NaNNaN0.07690.01890.12500.05560.1818
69Hazel Park Preparatory Academy489.07.00.0632NaNNaN0.00000.01850.12200.03660.2308
70Hazel Park Preparatory Academy489.08.00.1882NaNNaN0.03230.15380.21740.19180.1667
125Saint Paul Music Academy558.03.00.3118NaNNaN0.40910.36960.25530.30120.4000
126Saint Paul Music Academy558.04.00.4095NaNNaN0.25000.36000.45450.41300.3846
127Saint Paul Music Academy558.05.00.3273NaNNaN0.15380.33330.32310.3039NaN
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "3 John A. Johnson Achievement Plus El. 415.0 3.0 0.1636 NaN \n", "4 John A. Johnson Achievement Plus El. 415.0 4.0 0.1200 NaN \n", "5 John A. Johnson Achievement Plus El. 415.0 5.0 0.1321 NaN \n", "27 Bruce F Vento Elementary 449.0 3.0 0.2466 NaN \n", "28 Bruce F Vento Elementary 449.0 4.0 0.2464 NaN \n", "29 Bruce F Vento Elementary 449.0 5.0 0.2771 NaN \n", "65 Hazel Park Preparatory Academy 489.0 3.0 0.3333 NaN \n", "66 Hazel Park Preparatory Academy 489.0 4.0 0.2453 NaN \n", "67 Hazel Park Preparatory Academy 489.0 5.0 0.0377 NaN \n", "68 Hazel Park Preparatory Academy 489.0 6.0 0.0693 NaN \n", "69 Hazel Park Preparatory Academy 489.0 7.0 0.0632 NaN \n", "70 Hazel Park Preparatory Academy 489.0 8.0 0.1882 NaN \n", "125 Saint Paul Music Academy 558.0 3.0 0.3118 NaN \n", "126 Saint Paul Music Academy 558.0 4.0 0.4095 NaN \n", "127 Saint Paul Music Academy 558.0 5.0 0.3273 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "3 NaN 0.1000 0.3500 0.0571 0.1739 NaN \n", "4 NaN 0.0500 0.1379 0.0952 0.1250 NaN \n", "5 NaN 0.1667 0.0769 0.1852 0.1489 NaN \n", "27 NaN 0.2500 0.2857 0.2105 0.2537 NaN \n", "28 NaN 0.1111 0.2703 0.2188 0.2333 NaN \n", "29 NaN 0.2308 0.2708 0.2857 0.2692 NaN \n", "65 NaN 0.2609 0.4500 0.2400 0.3250 NaN \n", "66 NaN 0.0417 0.3226 0.1364 0.2500 NaN \n", "67 NaN 0.0000 0.0370 0.0385 0.0392 NaN \n", "68 NaN 0.0769 0.0189 0.1250 0.0556 0.1818 \n", "69 NaN 0.0000 0.0185 0.1220 0.0366 0.2308 \n", "70 NaN 0.0323 0.1538 0.2174 0.1918 0.1667 \n", "125 NaN 0.4091 0.3696 0.2553 0.3012 0.4000 \n", "126 NaN 0.2500 0.3600 0.4545 0.4130 0.3846 \n", "127 NaN 0.1538 0.3333 0.3231 0.3039 NaN " ] }, "execution_count": 25, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (415,558,449,489)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 26, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
1John A. Johnson Achievement Plus El.415.050.1852NaNNaN0.16670.18520.18520.1667NaN
9Bruce F Vento Elementary449.050.1446NaNNaN0.11540.10420.20000.1282NaN
21Hazel Park Preparatory Academy489.050.1346NaNNaN0.16670.14810.12000.1400NaN
22Hazel Park Preparatory Academy489.080.1071NaNNaN0.03330.15380.06670.11110.0833
41Saint Paul Music Academy558.050.1182NaNNaN0.03850.15560.09230.1176NaN
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "1 John A. Johnson Achievement Plus El. 415.0 5 0.1852 NaN \n", "9 Bruce F Vento Elementary 449.0 5 0.1446 NaN \n", "21 Hazel Park Preparatory Academy 489.0 5 0.1346 NaN \n", "22 Hazel Park Preparatory Academy 489.0 8 0.1071 NaN \n", "41 Saint Paul Music Academy 558.0 5 0.1182 NaN \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "1 NaN 0.1667 0.1852 0.1852 0.1667 NaN \n", "9 NaN 0.1154 0.1042 0.2000 0.1282 NaN \n", "21 NaN 0.1667 0.1481 0.1200 0.1400 NaN \n", "22 NaN 0.0333 0.1538 0.0667 0.1111 0.0833 \n", "41 NaN 0.0385 0.1556 0.0923 0.1176 NaN " ] }, "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (415,558,449,489)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Intermediate Schools: District/State Level by Grade\n", "\n", "#### Reading Data" ] }, { "cell_type": "code", "execution_count": 56, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
164Sp_District_All0.06.00.38470.73590.30130.27080.35390.41890.26890.6507
165Sp_District_All0.07.00.37160.71370.28900.21880.33360.41290.26400.6129
166Sp_District_All0.08.00.39180.74790.29870.22880.36440.42130.27800.6347
171Mpls_District_All0.06.00.48330.81160.31430.27140.44320.52410.29200.7757
172Mpls_District_All0.07.00.46620.80070.27550.20860.43580.49620.23690.7735
173Mpls_District_All0.08.00.45340.74200.29750.22850.40600.50450.27780.7059
178State_All0.06.00.62810.72060.45810.38050.59490.66260.43760.7502
179State_All0.07.00.57490.65780.41380.32010.53490.61700.38040.6913
180State_All0.08.00.57710.65440.42210.33080.52090.63570.38200.6877
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "164 Sp_District_All 0.0 6.0 0.3847 0.7359 0.3013 0.2708 \n", "165 Sp_District_All 0.0 7.0 0.3716 0.7137 0.2890 0.2188 \n", "166 Sp_District_All 0.0 8.0 0.3918 0.7479 0.2987 0.2288 \n", "171 Mpls_District_All 0.0 6.0 0.4833 0.8116 0.3143 0.2714 \n", "172 Mpls_District_All 0.0 7.0 0.4662 0.8007 0.2755 0.2086 \n", "173 Mpls_District_All 0.0 8.0 0.4534 0.7420 0.2975 0.2285 \n", "178 State_All 0.0 6.0 0.6281 0.7206 0.4581 0.3805 \n", "179 State_All 0.0 7.0 0.5749 0.6578 0.4138 0.3201 \n", "180 State_All 0.0 8.0 0.5771 0.6544 0.4221 0.3308 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "164 0.3539 0.4189 0.2689 0.6507 \n", "165 0.3336 0.4129 0.2640 0.6129 \n", "166 0.3644 0.4213 0.2780 0.6347 \n", "171 0.4432 0.5241 0.2920 0.7757 \n", "172 0.4358 0.4962 0.2369 0.7735 \n", "173 0.4060 0.5045 0.2778 0.7059 \n", "178 0.5949 0.6626 0.4376 0.7502 \n", "179 0.5349 0.6170 0.3804 0.6913 \n", "180 0.5209 0.6357 0.3820 0.6877 " ] }, "execution_count": 56, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num==0 and Grade in (6,7,8)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data" ] }, { "cell_type": "code", "execution_count": 57, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
164Sp_District_All0.06.00.24630.60750.16150.11680.25220.23960.14090.4897
165Sp_District_All0.07.00.27370.58460.19950.11410.25550.29350.17240.5000
166Sp_District_All0.08.00.32740.63680.24550.15730.31060.34540.22710.5381
171Mpls_District_All0.06.00.36950.70870.19210.14200.37530.36360.16910.6752
172Mpls_District_All0.07.00.40250.76370.19720.12080.40710.39790.15850.7298
173Mpls_District_All0.08.00.41100.70440.25180.17060.38670.43730.22290.6825
178State_All0.06.00.50480.60680.31720.22580.51740.49170.28780.6437
179State_All0.07.00.52060.61640.33430.22820.52120.51990.29500.6554
180State_All0.08.00.55170.63650.38100.26150.52300.58160.33320.6752
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "164 Sp_District_All 0.0 6.0 0.2463 0.6075 0.1615 0.1168 \n", "165 Sp_District_All 0.0 7.0 0.2737 0.5846 0.1995 0.1141 \n", "166 Sp_District_All 0.0 8.0 0.3274 0.6368 0.2455 0.1573 \n", "171 Mpls_District_All 0.0 6.0 0.3695 0.7087 0.1921 0.1420 \n", "172 Mpls_District_All 0.0 7.0 0.4025 0.7637 0.1972 0.1208 \n", "173 Mpls_District_All 0.0 8.0 0.4110 0.7044 0.2518 0.1706 \n", "178 State_All 0.0 6.0 0.5048 0.6068 0.3172 0.2258 \n", "179 State_All 0.0 7.0 0.5206 0.6164 0.3343 0.2282 \n", "180 State_All 0.0 8.0 0.5517 0.6365 0.3810 0.2615 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "164 0.2522 0.2396 0.1409 0.4897 \n", "165 0.2555 0.2935 0.1724 0.5000 \n", "166 0.3106 0.3454 0.2271 0.5381 \n", "171 0.3753 0.3636 0.1691 0.6752 \n", "172 0.4071 0.3979 0.1585 0.7298 \n", "173 0.3867 0.4373 0.2229 0.6825 \n", "178 0.5174 0.4917 0.2878 0.6437 \n", "179 0.5212 0.5199 0.2950 0.6554 \n", "180 0.5230 0.5816 0.3332 0.6752 " ] }, "execution_count": 57, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num==0 and Grade in (6,7,8)')\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 59, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
58Sp_District_All0.080.24630.62930.14250.11090.26590.22570.13380.4782
61Mpls_District_All0.080.33230.63860.16080.12350.32960.33520.14290.5955
64State_All0.080.43020.51370.26090.17540.43920.42080.22840.5429
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "58 Sp_District_All 0.0 8 0.2463 0.6293 0.1425 0.1109 \n", "61 Mpls_District_All 0.0 8 0.3323 0.6386 0.1608 0.1235 \n", "64 State_All 0.0 8 0.4302 0.5137 0.2609 0.1754 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "58 0.2659 0.2257 0.1338 0.4782 \n", "61 0.3296 0.3352 0.1429 0.5955 \n", "64 0.4392 0.4208 0.2284 0.5429 " ] }, "execution_count": 59, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num==0 and Grade==\"8\"')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## MS Group 1: Highland, Murray, Ramsey\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 60, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
46330.0Highland Park Middle School804.051.1240.4219.284.4846.64%10.20%10.70%0.62%
47342.0Murray Middle School712.052.2534.1325.5619.5257.02%17.13%14.19%1.12%
49345.0Ramsey Middle School588.052.7224.3245.4113.6164.63%10.88%10.20%3.74%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% Black% \\\n", "46 330.0 Highland Park Middle School 804.0 51.12 40.42 19.28 \n", "47 342.0 Murray Middle School 712.0 52.25 34.13 25.56 \n", "49 345.0 Ramsey Middle School 588.0 52.72 24.32 45.41 \n", "\n", " Asian% FRP% ELL% SPED% Homeless% \n", "46 4.48 46.64% 10.20% 10.70% 0.62% \n", "47 19.52 57.02% 17.13% 14.19% 1.12% \n", "49 13.61 64.63% 10.88% 10.20% 3.74% " ] }, "execution_count": 60, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (330,342,345)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data" ] }, { "cell_type": "code", "execution_count": 61, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
144Highland Park Middle School330.06.00.56300.85150.39050.51720.54810.57780.29600.7931
145Highland Park Middle School330.07.00.55730.80370.38710.32650.53620.58060.30000.7746
146Highland Park Middle School330.08.00.55790.82350.36430.25580.44440.68100.34480.7540
147Murray Middle School342.06.00.47770.73240.35950.21570.39450.55650.40150.5977
148Murray Middle School342.07.00.45260.80720.25500.21430.40000.50890.25000.7200
149Murray Middle School342.08.00.45160.76740.24430.23080.48280.41580.24170.7113
153Ramsey Middle School345.06.00.39390.78000.26350.13100.33680.44660.17890.7467
154Ramsey Middle School345.07.00.32300.72500.19010.13580.25560.40850.19270.5962
155Ramsey Middle School345.08.00.44190.73330.33860.25370.39580.50000.31430.6418
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "144 Highland Park Middle School 330.0 6.0 0.5630 0.8515 0.3905 \n", "145 Highland Park Middle School 330.0 7.0 0.5573 0.8037 0.3871 \n", "146 Highland Park Middle School 330.0 8.0 0.5579 0.8235 0.3643 \n", "147 Murray Middle School 342.0 6.0 0.4777 0.7324 0.3595 \n", "148 Murray Middle School 342.0 7.0 0.4526 0.8072 0.2550 \n", "149 Murray Middle School 342.0 8.0 0.4516 0.7674 0.2443 \n", "153 Ramsey Middle School 345.0 6.0 0.3939 0.7800 0.2635 \n", "154 Ramsey Middle School 345.0 7.0 0.3230 0.7250 0.1901 \n", "155 Ramsey Middle School 345.0 8.0 0.4419 0.7333 0.3386 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "144 0.5172 0.5481 0.5778 0.2960 0.7931 \n", "145 0.3265 0.5362 0.5806 0.3000 0.7746 \n", "146 0.2558 0.4444 0.6810 0.3448 0.7540 \n", "147 0.2157 0.3945 0.5565 0.4015 0.5977 \n", "148 0.2143 0.4000 0.5089 0.2500 0.7200 \n", "149 0.2308 0.4828 0.4158 0.2417 0.7113 \n", "153 0.1310 0.3368 0.4466 0.1789 0.7467 \n", "154 0.1358 0.2556 0.4085 0.1927 0.5962 \n", "155 0.2537 0.3958 0.5000 0.3143 0.6418 " ] }, "execution_count": 61, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (330,342,345)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data" ] }, { "cell_type": "code", "execution_count": 62, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
144Highland Park Middle School330.06.00.39410.71290.20240.22810.38810.40000.13600.6181
145Highland Park Middle School330.07.00.38080.67920.17530.14580.33580.43090.10080.6170
146Highland Park Middle School330.08.00.40080.70000.18250.19510.33330.47370.16070.6160
147Murray Middle School342.06.00.35160.66670.21570.11760.33940.36360.23700.5357
148Murray Middle School342.07.00.30300.58540.14770.10170.27120.33630.12030.5510
149Murray Middle School342.08.00.41120.69410.22480.19230.44640.37250.17800.6979
153Ramsey Middle School345.06.00.21500.50000.12000.02380.18560.24270.06450.4605
154Ramsey Middle School345.07.00.19140.52500.08200.07320.13190.26760.07340.4340
155Ramsey Middle School345.08.00.35470.68890.23620.16180.34380.36840.21150.5735
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "144 Highland Park Middle School 330.0 6.0 0.3941 0.7129 0.2024 \n", "145 Highland Park Middle School 330.0 7.0 0.3808 0.6792 0.1753 \n", "146 Highland Park Middle School 330.0 8.0 0.4008 0.7000 0.1825 \n", "147 Murray Middle School 342.0 6.0 0.3516 0.6667 0.2157 \n", "148 Murray Middle School 342.0 7.0 0.3030 0.5854 0.1477 \n", "149 Murray Middle School 342.0 8.0 0.4112 0.6941 0.2248 \n", "153 Ramsey Middle School 345.0 6.0 0.2150 0.5000 0.1200 \n", "154 Ramsey Middle School 345.0 7.0 0.1914 0.5250 0.0820 \n", "155 Ramsey Middle School 345.0 8.0 0.3547 0.6889 0.2362 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "144 0.2281 0.3881 0.4000 0.1360 0.6181 \n", "145 0.1458 0.3358 0.4309 0.1008 0.6170 \n", "146 0.1951 0.3333 0.4737 0.1607 0.6160 \n", "147 0.1176 0.3394 0.3636 0.2370 0.5357 \n", "148 0.1017 0.2712 0.3363 0.1203 0.5510 \n", "149 0.1923 0.4464 0.3725 0.1780 0.6979 \n", "153 0.0238 0.1856 0.2427 0.0645 0.4605 \n", "154 0.0732 0.1319 0.2676 0.0734 0.4340 \n", "155 0.1618 0.3438 0.3684 0.2115 0.5735 " ] }, "execution_count": 62, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (330,342,345)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 63, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
48Highland Park Middle School330.080.37120.66670.15790.15380.33620.40710.14020.5738
49Murray Middle School342.080.34300.60470.15700.13040.41590.25530.13640.5773
51Ramsey Middle School345.080.33530.73330.19530.20290.38950.26920.18870.5672
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "48 Highland Park Middle School 330.0 8 0.3712 0.6667 0.1579 \n", "49 Murray Middle School 342.0 8 0.3430 0.6047 0.1570 \n", "51 Ramsey Middle School 345.0 8 0.3353 0.7333 0.1953 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "48 0.1538 0.3362 0.4071 0.1402 0.5738 \n", "49 0.1304 0.4159 0.2553 0.1364 0.5773 \n", "51 0.2029 0.3895 0.2692 0.1887 0.5672 " ] }, "execution_count": 63, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (330,342,345)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## MS Group 2: Battle Creek, Farnsworth, Parkway\n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 64, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
44310.0Battle Creek Middle750.053.206.1334.6738.9377.87%31.33%15.73%2.40%
45315.0Farnsworth Aerospace Upper643.054.285.1318.3560.1976.36%32.35%13.22%1.71%
48344.0Parkway Montessori/Community Middle450.050.8914.2224.2242.6776.22%22.67%21.33%1.78%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% \\\n", "44 310.0 Battle Creek Middle 750.0 53.20 6.13 \n", "45 315.0 Farnsworth Aerospace Upper 643.0 54.28 5.13 \n", "48 344.0 Parkway Montessori/Community Middle 450.0 50.89 14.22 \n", "\n", " Black% Asian% FRP% ELL% SPED% Homeless% \n", "44 34.67 38.93 77.87% 31.33% 15.73% 2.40% \n", "45 18.35 60.19 76.36% 32.35% 13.22% 1.71% \n", "48 24.22 42.67 76.22% 22.67% 21.33% 1.78% " ] }, "execution_count": 64, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (344,315,310)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data" ] }, { "cell_type": "code", "execution_count": 65, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
137Battle Creek Middle310.06.00.2249NaNNaN0.23910.21620.23760.21150.2927
138Battle Creek Middle310.07.00.26610.57140.24790.19100.19330.33330.23500.3958
139Battle Creek Middle310.08.00.27350.50000.26130.19280.26770.28040.25710.3220
140Farnsworth Aerospace Upper315.05.00.5000NaNNaN0.41180.44440.55770.48190.5652
141Farnsworth Aerospace Upper315.06.00.2784NaNNaN0.25000.23470.33330.24290.4167
142Farnsworth Aerospace Upper315.07.00.2965NaNNaN0.26670.31070.27540.27560.3556
143Farnsworth Aerospace Upper315.08.00.2866NaNNaN0.14290.25300.32100.23260.4857
150Parkway Montessori/Community Middle344.06.00.27890.47370.25000.21210.31650.23530.24550.3784
151Parkway Montessori/Community Middle344.07.00.26030.31580.25200.08110.17500.36360.27430.2121
152Parkway Montessori/Community Middle344.08.00.35380.75000.28180.16000.25000.44290.30000.5333
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "137 Battle Creek Middle 310.0 6.0 0.2249 NaN \n", "138 Battle Creek Middle 310.0 7.0 0.2661 0.5714 \n", "139 Battle Creek Middle 310.0 8.0 0.2735 0.5000 \n", "140 Farnsworth Aerospace Upper 315.0 5.0 0.5000 NaN \n", "141 Farnsworth Aerospace Upper 315.0 6.0 0.2784 NaN \n", "142 Farnsworth Aerospace Upper 315.0 7.0 0.2965 NaN \n", "143 Farnsworth Aerospace Upper 315.0 8.0 0.2866 NaN \n", "150 Parkway Montessori/Community Middle 344.0 6.0 0.2789 0.4737 \n", "151 Parkway Montessori/Community Middle 344.0 7.0 0.2603 0.3158 \n", "152 Parkway Montessori/Community Middle 344.0 8.0 0.3538 0.7500 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "137 NaN 0.2391 0.2162 0.2376 0.2115 0.2927 \n", "138 0.2479 0.1910 0.1933 0.3333 0.2350 0.3958 \n", "139 0.2613 0.1928 0.2677 0.2804 0.2571 0.3220 \n", "140 NaN 0.4118 0.4444 0.5577 0.4819 0.5652 \n", "141 NaN 0.2500 0.2347 0.3333 0.2429 0.4167 \n", "142 NaN 0.2667 0.3107 0.2754 0.2756 0.3556 \n", "143 NaN 0.1429 0.2530 0.3210 0.2326 0.4857 \n", "150 0.2500 0.2121 0.3165 0.2353 0.2455 0.3784 \n", "151 0.2520 0.0811 0.1750 0.3636 0.2743 0.2121 \n", "152 0.2818 0.1600 0.2500 0.4429 0.3000 0.5333 " ] }, "execution_count": 65, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (344,315,310)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data" ] }, { "cell_type": "code", "execution_count": 66, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
137Battle Creek Middle310.06.00.0683NaNNaN0.08700.07430.05940.06250.0976
138Battle Creek Middle310.07.00.20480.15380.20760.08990.18490.22310.17910.3125
139Battle Creek Middle310.08.00.23830.41670.22870.09640.23620.24070.22730.2712
140Farnsworth Aerospace Upper315.05.00.3458NaNNaN0.16670.40000.28850.34520.3478
141Farnsworth Aerospace Upper315.06.00.1534NaNNaN0.11110.13270.17950.10710.3333
142Farnsworth Aerospace Upper315.07.00.2176NaNNaN0.06670.24510.17650.20000.2667
143Farnsworth Aerospace Upper315.08.00.2112NaNNaN0.03450.16870.25640.16540.3824
150Parkway Montessori/Community Middle344.06.00.10960.26320.08660.03030.13920.07460.08180.1944
151Parkway Montessori/Community Middle344.07.00.18620.26320.17460.02780.15000.23080.19640.1515
152Parkway Montessori/Community Middle344.08.00.28240.65000.21620.16000.20970.34780.22770.4667
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "137 Battle Creek Middle 310.0 6.0 0.0683 NaN \n", "138 Battle Creek Middle 310.0 7.0 0.2048 0.1538 \n", "139 Battle Creek Middle 310.0 8.0 0.2383 0.4167 \n", "140 Farnsworth Aerospace Upper 315.0 5.0 0.3458 NaN \n", "141 Farnsworth Aerospace Upper 315.0 6.0 0.1534 NaN \n", "142 Farnsworth Aerospace Upper 315.0 7.0 0.2176 NaN \n", "143 Farnsworth Aerospace Upper 315.0 8.0 0.2112 NaN \n", "150 Parkway Montessori/Community Middle 344.0 6.0 0.1096 0.2632 \n", "151 Parkway Montessori/Community Middle 344.0 7.0 0.1862 0.2632 \n", "152 Parkway Montessori/Community Middle 344.0 8.0 0.2824 0.6500 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "137 NaN 0.0870 0.0743 0.0594 0.0625 0.0976 \n", "138 0.2076 0.0899 0.1849 0.2231 0.1791 0.3125 \n", "139 0.2287 0.0964 0.2362 0.2407 0.2273 0.2712 \n", "140 NaN 0.1667 0.4000 0.2885 0.3452 0.3478 \n", "141 NaN 0.1111 0.1327 0.1795 0.1071 0.3333 \n", "142 NaN 0.0667 0.2451 0.1765 0.2000 0.2667 \n", "143 NaN 0.0345 0.1687 0.2564 0.1654 0.3824 \n", "150 0.0866 0.0303 0.1392 0.0746 0.0818 0.1944 \n", "151 0.1746 0.0278 0.1500 0.2308 0.1964 0.1515 \n", "152 0.2162 0.1600 0.2097 0.3478 0.2277 0.4667 " ] }, "execution_count": 66, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (344,315,310)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 67, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
45Battle Creek Middle310.080.12340.33330.11210.09640.11810.12960.10170.1897
46Farnsworth Aerospace Upper315.050.3178NaNNaN0.27780.36360.26920.30950.3478
47Farnsworth Aerospace Upper315.080.1534NaNNaN0.03450.15850.14810.11720.2857
50Parkway Montessori/Community Middle344.080.15630.50000.09260.00000.10170.20290.12120.2759
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof \\\n", "45 Battle Creek Middle 310.0 8 0.1234 0.3333 \n", "46 Farnsworth Aerospace Upper 315.0 5 0.3178 NaN \n", "47 Farnsworth Aerospace Upper 315.0 8 0.1534 NaN \n", "50 Parkway Montessori/Community Middle 344.0 8 0.1563 0.5000 \n", "\n", " POC_Prof Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "45 0.1121 0.0964 0.1181 0.1296 0.1017 0.1897 \n", "46 NaN 0.2778 0.3636 0.2692 0.3095 0.3478 \n", "47 NaN 0.0345 0.1585 0.1481 0.1172 0.2857 \n", "50 0.0926 0.0000 0.1017 0.2029 0.1212 0.2759 " ] }, "execution_count": 67, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (344,315,310)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Proficiency Graphs\n", "\n", "![title](Graphs/R_Int.png)\n", "\n", "![title](Graphs/M_Int.png)\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# High Schools: District/State Level \n", "\n", "#### Reading Data" ] }, { "cell_type": "code", "execution_count": 68, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
167Sp_District_All0.010.00.45860.77390.37040.27140.42440.49290.34160.6713
174Mpls_District_All0.010.00.41870.70160.23600.17680.38910.45690.21620.6480
181State_All0.010.00.60400.67120.44600.34130.55600.65440.40950.6959
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "167 Sp_District_All 0.0 10.0 0.4586 0.7739 0.3704 0.2714 \n", "174 Mpls_District_All 0.0 10.0 0.4187 0.7016 0.2360 0.1768 \n", "181 State_All 0.0 10.0 0.6040 0.6712 0.4460 0.3413 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "167 0.4244 0.4929 0.3416 0.6713 \n", "174 0.3891 0.4569 0.2162 0.6480 \n", "181 0.5560 0.6544 0.4095 0.6959 " ] }, "execution_count": 68, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num==0 and Grade in (9,10,11,12)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data" ] }, { "cell_type": "code", "execution_count": 69, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
167Sp_District_All0.011.00.27350.56400.21900.12620.29250.25030.20110.4486
174Mpls_District_All0.011.00.27150.61190.11110.06480.27130.27180.10070.5126
181State_All0.011.00.45020.52190.28020.16880.44410.45680.23660.5460
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof Black_Prof \\\n", "167 Sp_District_All 0.0 11.0 0.2735 0.5640 0.2190 0.1262 \n", "174 Mpls_District_All 0.0 11.0 0.2715 0.6119 0.1111 0.0648 \n", "181 State_All 0.0 11.0 0.4502 0.5219 0.2802 0.1688 \n", "\n", " Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "167 0.2925 0.2503 0.2011 0.4486 \n", "174 0.2713 0.2718 0.1007 0.5126 \n", "181 0.4441 0.4568 0.2366 0.5460 " ] }, "execution_count": 69, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num==0 and Grade in (9,10,11,12)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 70, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
\n", "
" ], "text/plain": [ "Empty DataFrame\n", "Columns: [School, Num, Grade, Prof, White_Prof, POC_Prof, Black_Prof, Male_Prof, Female_Prof, FRPL_Prof, NonFRPL_Prof]\n", "Index: []" ] }, "execution_count": 70, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num==0 and Grade in (9,10,11,12)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## High School Level \n", "\n", "#### Enroll Data" ] }, { "cell_type": "code", "execution_count": 75, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
NumSchoolTot_EnrollMale%White%Black%Asian%FRP%ELL%SPED%Homeless%
50210.0Central Senior High1795.046.4641.0628.8619.3345.91%10.92%10.42%1.45%
51212.0Como Park Senior High1307.051.6419.0534.7432.5964.35%36.80%12.78%1.68%
52215.0Harding Senior High1908.051.786.0821.0754.4073.17%33.75%12.32%1.47%
53220.0Highland Park Senior High1328.050.6035.6922.5914.8345.56%15.44%9.94%0.38%
54230.0Johnson Senior High1295.056.9910.1222.9352.2075.98%24.09%15.83%1.08%
\n", "
" ], "text/plain": [ " Num School Tot_Enroll Male% White% Black% \\\n", "50 210.0 Central Senior High 1795.0 46.46 41.06 28.86 \n", "51 212.0 Como Park Senior High 1307.0 51.64 19.05 34.74 \n", "52 215.0 Harding Senior High 1908.0 51.78 6.08 21.07 \n", "53 220.0 Highland Park Senior High 1328.0 50.60 35.69 22.59 \n", "54 230.0 Johnson Senior High 1295.0 56.99 10.12 22.93 \n", "\n", " Asian% FRP% ELL% SPED% Homeless% \n", "50 19.33 45.91% 10.92% 10.42% 1.45% \n", "51 32.59 64.35% 36.80% 12.78% 1.68% \n", "52 54.40 73.17% 33.75% 12.32% 1.47% \n", "53 14.83 45.56% 15.44% 9.94% 0.38% \n", "54 52.20 75.98% 24.09% 15.83% 1.08% " ] }, "execution_count": 75, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Enroll.query('Num in (220,210,212,215,230)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Reading Data" ] }, { "cell_type": "code", "execution_count": 76, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
156Central Senior High210.010.00.66390.86670.49490.41670.62010.70650.41610.8364
157Como Park Senior High212.010.00.29150.71930.16320.15480.22120.35070.17810.4554
158Harding Senior High215.010.00.40050.45450.39720.32310.34360.46150.38910.4314
159Highland Park Senior High220.010.00.63390.82960.50250.37700.59540.67480.42750.7778
160Johnson Senior High230.010.00.46130.65850.42970.20550.43330.48980.41350.6500
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "156 Central Senior High 210.0 10.0 0.6639 0.8667 0.4949 \n", "157 Como Park Senior High 212.0 10.0 0.2915 0.7193 0.1632 \n", "158 Harding Senior High 215.0 10.0 0.4005 0.4545 0.3972 \n", "159 Highland Park Senior High 220.0 10.0 0.6339 0.8296 0.5025 \n", "160 Johnson Senior High 230.0 10.0 0.4613 0.6585 0.4297 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "156 0.4167 0.6201 0.7065 0.4161 0.8364 \n", "157 0.1548 0.2212 0.3507 0.1781 0.4554 \n", "158 0.3231 0.3436 0.4615 0.3891 0.4314 \n", "159 0.3770 0.5954 0.6748 0.4275 0.7778 \n", "160 0.2055 0.4333 0.4898 0.4135 0.6500 " ] }, "execution_count": 76, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Reading.query('Num in (220,210,212,215,230)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Math Data" ] }, { "cell_type": "code", "execution_count": 77, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
156Central Senior High210.011.00.46630.76920.29200.14580.55790.36140.22340.7381
157Como Park Senior High212.011.00.22350.54550.15070.12240.22770.21790.15910.4043
158Harding Senior High215.011.00.21040.22730.20920.12900.21050.21020.18370.2745
159Highland Park Senior High220.011.00.46120.67820.34180.30770.52500.40000.29310.6124
160Johnson Senior High230.011.00.25740.42310.23980.17390.29480.19190.24070.3214
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "156 Central Senior High 210.0 11.0 0.4663 0.7692 0.2920 \n", "157 Como Park Senior High 212.0 11.0 0.2235 0.5455 0.1507 \n", "158 Harding Senior High 215.0 11.0 0.2104 0.2273 0.2092 \n", "159 Highland Park Senior High 220.0 11.0 0.4612 0.6782 0.3418 \n", "160 Johnson Senior High 230.0 11.0 0.2574 0.4231 0.2398 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "156 0.1458 0.5579 0.3614 0.2234 0.7381 \n", "157 0.1224 0.2277 0.2179 0.1591 0.4043 \n", "158 0.1290 0.2105 0.2102 0.1837 0.2745 \n", "159 0.3077 0.5250 0.4000 0.2931 0.6124 \n", "160 0.1739 0.2948 0.1919 0.2407 0.3214 " ] }, "execution_count": 77, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Math.query('Num in (220,210,212,215,230)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Science Data" ] }, { "cell_type": "code", "execution_count": 78, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolNumGradeProfWhite_ProfPOC_ProfBlack_ProfMale_ProfFemale_ProfFRPL_ProfNonFRPL_Prof
52Central Senior High210.0HS0.49600.72430.27840.15660.48330.50750.27150.6447
53Como Park Senior High212.0HS0.32960.66670.21640.16670.38710.26740.22430.4861
54Harding Senior High215.0HS0.25000.41180.23900.15910.28280.21140.21990.3247
55Highland Park Senior High220.0HS0.45070.70410.31720.28790.40270.50370.25370.6267
56Johnson Senior High230.0HS0.24660.47500.21090.08820.26320.22920.21190.3833
\n", "
" ], "text/plain": [ " School Num Grade Prof White_Prof POC_Prof \\\n", "52 Central Senior High 210.0 HS 0.4960 0.7243 0.2784 \n", "53 Como Park Senior High 212.0 HS 0.3296 0.6667 0.2164 \n", "54 Harding Senior High 215.0 HS 0.2500 0.4118 0.2390 \n", "55 Highland Park Senior High 220.0 HS 0.4507 0.7041 0.3172 \n", "56 Johnson Senior High 230.0 HS 0.2466 0.4750 0.2109 \n", "\n", " Black_Prof Male_Prof Female_Prof FRPL_Prof NonFRPL_Prof \n", "52 0.1566 0.4833 0.5075 0.2715 0.6447 \n", "53 0.1667 0.3871 0.2674 0.2243 0.4861 \n", "54 0.1591 0.2828 0.2114 0.2199 0.3247 \n", "55 0.2879 0.4027 0.5037 0.2537 0.6267 \n", "56 0.0882 0.2632 0.2292 0.2119 0.3833 " ] }, "execution_count": 78, "metadata": {}, "output_type": "execute_result" } ], "source": [ "Science.query('Num in (220,210,212,215,230)')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Run Code" ] }, { "cell_type": "code", "execution_count": 257, "metadata": {}, "outputs": [], "source": [ "#Run Code\n", "import pandas as pd\n", "import numpy as np\n", "import warnings\n", "warnings.filterwarnings('ignore')\n", "import matplotlib as mpl\n", "import matplotlib.pyplot as plt\n", "%matplotlib inline \n", "import requests # library to handle requests\n", "import folium\n", "import seaborn as sns\n", "import scipy.stats as stats #used to get correlation coefficient\n", "\n", "#load data\n", "Enroll= pd.read_csv('Data/SPEnrollment.csv')\n", "Math= pd.read_csv('Data/SPMath.csv')\n", "Reading= pd.read_csv('Data/SPReading.csv')\n", "Science= pd.read_csv('Data/SPScience.csv')\n", "HL= pd.read_csv('Data/TCHomeless.csv')\n", "Add= pd.read_csv('Data/AddSchool.csv')\n", "School= pd.read_csv('Data/SchoolProf.csv')\n", "\n", "\n", "\n", "def plot_Homeless():\n", " # generate a new map\n", " FG_map = folium.Map(location=[44.988326, -93.162926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " A=HL.query('Homeless_Count>3 and Num!=527')\n", "\n", " print('This map displays 2019 Homeless Student Count > 3 from October 1st,2019 Enrollment')\n", " for index, row in A.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Homeless_Count: {}
Homeless%: {}
Total Enrollment: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Homeless_Count'],row['Homeless%'],row['Tot_Enroll'] )\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Homeless_Count'],\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", "\n", " return FG_map\n", "\n", "def plot_School_White(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','White%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized White%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#Black\n", "def plot_School_Black(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','Black%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized Black%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#Asian\n", "def plot_School_Asian(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','Asian%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized Asian%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#ELL\n", "def plot_School_ELL(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','ELL%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized ELL%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#SPED\n", "def plot_School_SPED(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','SPED%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized SPED%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%'/2],\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%'/2],\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%'/2],\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%'/2],\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "\n", "#FRPL\n", "def plot_School_FRPL(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','FRPL%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized FRPL%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n" ] }, { "cell_type": "code", "execution_count": 264, "metadata": { "scrolled": false }, "outputs": [], "source": [ "def plot_School_White(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','White%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized White%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
White%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['White%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['White%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#Black\n", "def plot_School_Black(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','Black%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized Black%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Black%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Black%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Black%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#Asian\n", "def plot_School_Asian(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','Asian%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized Asian%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
Asian%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['Asian%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['Asian%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#ELL\n", "def plot_School_ELL(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','ELL%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized ELL%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
ELL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['ELL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['ELL%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "#SPED\n", "def plot_School_SPED(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','SPED%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized SPED%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
SPED%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['SPED%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['SPED%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n", "\n", "\n", "#FRPL\n", "def plot_School_FRPL(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','FRPL%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized FRPL%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map\n" ] }, { "cell_type": "code", "execution_count": 280, "metadata": {}, "outputs": [], "source": [ "#FRPL\n", "def plot_School_FRPL(Subject='Math'):\n", " Index =['School','Latitude','Longitude', 'Total_Tested','Proficiency','Address','Subject','Ranking','FRPL%']\n", "\n", " FG_map = folium.Map(location=[44.958326, -93.122926], zoom_start=12,tiles=\"OpenStreetMap\")\n", " \n", " B= School[(School['Subject'] == Subject)]\n", " B=B.query('School_Num not in (1581,1386)')\n", " B4=B.query('Ranking == 4')\n", " B3=B.query('Ranking == 3')\n", " B2=B.query('Ranking == 2')\n", " B1=B.query('Ranking == 1')\n", " \n", " print('This map displays 2019 {} Proficiency under normalized FRPL%'.format(Subject))\n", " for index, row in B4.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#0000ff\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B3.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#007849\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map)\n", " \n", " for index, row in B2.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#E37222\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " for index, row in B1.iterrows(): \n", " popup_text = \"School: {}
Address: {}
Tested: {}
Proficiency: {}
FRPL%: {}\"\n", " popup_text = popup_text.format(row[\"School\"],row[\"Address\"], row['Total_Tested'], row['Proficiency'], row['FRPL%'])\n", " folium.CircleMarker(location=(row[\"Latitude\"],row[\"Longitude\"]),\n", " radius=row['FRPL%']/2,\n", " color=\"#ff0000\",\n", " popup=popup_text,\n", " fill=True).add_to(FG_map) \n", " \n", " return FG_map" ] }, { "cell_type": "code", "execution_count": 256, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "This map displays 2019 Math Proficiency under normalized FRPL%\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "execution_count": 256, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plot_School_FRPL()" ] }, { "cell_type": "code", "execution_count": 278, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
SchoolSchool_NumGradeTotal_TestedProficiencyWhite%Asian%Black%ELL%SPED%FRPL%RankingAddressLatitudeLongitudeSubject
108Battle Creek Middle310.08.0235.012.345.040.035.035.015.075.01.02121 N Park Dr, St Paul, MN 5511944.945684-93.011786Science
109Benjamin E Mays Magnet424.05.065.09.230.011.068.012.017.082.01.0560 Concordia Ave, St Paul, MN 5510344.950302-93.122300Science
110Bruce F Vento Elementary449.05.083.014.462.047.031.033.016.094.01.0409 Case Ave E, St Paul, MN 5513044.970897-93.082901Science
112Cherokee Heights Elementary School428.05.027.014.8111.04.030.022.015.085.01.0694 S Charlton St, St Paul, MN 5510744.925156-93.095431Science
114Creative Arts Secondary School211.08.049.020.4120.018.033.08.010.061.01.065 E Kellogg Blvd, St Paul, MN 5510144.945128-93.090919Science
116Crossroads Science Program466.05.049.020.416.024.051.016.016.086.01.0543 Front Ave, St Paul, MN 5511744.970910-93.122748Science
117Daytons Bluff Elementary433.05.047.010.644.021.053.023.017.087.01.0262 Bates Ave, St Paul, MN 5510644.954667-93.066688Science
118Eastern Heights Elementary452.05.050.020.0014.038.016.038.026.076.01.02001 Margaret St, St Paul, MN 5511944.961587-93.016614Science
120Four Seasons Elementary460.05.075.010.6712.016.049.040.020.081.01.0318 N Moore St, St Paul, MN 5510444.950437-93.183536Science
121Frost Lake Elementary School464.05.079.016.4610.039.030.034.024.084.01.01505 Hoyt Ave E, St Paul, MN 5510644.988560-93.036775Science
122Galtier Elementary School467.05.022.00.0018.014.045.023.023.077.01.01317 Charles Ave, St Paul, MN 5510444.957900-93.156079Science
124Hamline Elementary School482.05.044.020.4514.011.057.018.014.068.01.01599 Englewood Ave, St Paul, MN 5510444.964668-93.168084Science
127Highwood Hills Elementary496.05.036.011.118.025.053.028.019.094.01.02188 Londin Ln E, St Paul, MN 5511944.929363-93.008086Science
129Humboldt High School225.08.0154.05.196.047.027.052.012.086.01.030 Baker St E, St Paul, MN 5510744.925973-93.084077Science
130Jackson Preparatory Elementary500.05.051.021.572.051.031.043.012.088.01.0437 Edmund Ave W, St Paul, MN 5510344.958794-93.118125Science
133John A. Johnson Achievement Plus El.415.05.054.018.527.028.033.028.017.089.01.0740 York Ave, St Paul, MN 5510644.968026-93.068801Science
135Maxfield Elementary School524.05.040.07.508.05.078.02.010.078.01.0380 N Victoria St, St Paul, MN 5510444.952617-93.135536Science
136Mississippi Creative Arts Elementary527.05.079.018.998.048.027.039.019.086.01.01575 L'Orient St, St Paul, MN 5511744.988831-93.090887Science
140Obama Service Learning Elementary578.05.046.04.352.011.070.011.022.096.01.0707 Holly Ave, St Paul, MN 5510444.943603-93.130054Science
142Parkway Montessori/Community Middle344.08.0128.015.6216.051.019.027.015.077.01.01363 Bush Ave, St Paul, MN 5510644.965483-93.042832Science
143Paul & Sheila Wellstone Elementary552.05.094.018.092.016.014.044.019.083.01.01041 Marion St, St Paul, MN 5511744.972856-93.110499Science
144Phalen Lake Hmong Studies Magnet541.05.097.017.531.085.05.054.09.085.01.01089 N Cypress St, St Paul, MN 5510644.973861-93.059345Science
147Riverview West School Of Excellence551.05.050.08.002.02.026.040.010.072.01.0160 Isabel St E, St Paul, MN 5510744.932803-93.076796Science
148Saint Paul Music Academy558.05.0110.011.825.055.024.047.021.093.01.027 Geranium Ave E, St Paul, MN 5511744.976042-93.100194Science
150The Heights Community School488.05.069.010.1410.033.026.026.012.067.01.01863 Clear Ave E, St Paul, MN 5511944.982388-93.020926Science
151Washington Tech Secondary Magnet252.08.0302.013.256.053.026.046.010.089.01.01495 Rice St, St Paul, MN 5511744.987037-93.111372Science
\n", "
" ], "text/plain": [ " School School_Num Grade Total_Tested \\\n", "108 Battle Creek Middle 310.0 8.0 235.0 \n", "109 Benjamin E Mays Magnet 424.0 5.0 65.0 \n", "110 Bruce F Vento Elementary 449.0 5.0 83.0 \n", "112 Cherokee Heights Elementary School 428.0 5.0 27.0 \n", "114 Creative Arts Secondary School 211.0 8.0 49.0 \n", "116 Crossroads Science Program 466.0 5.0 49.0 \n", "117 Daytons Bluff Elementary 433.0 5.0 47.0 \n", "118 Eastern Heights Elementary 452.0 5.0 50.0 \n", "120 Four Seasons Elementary 460.0 5.0 75.0 \n", "121 Frost Lake Elementary School 464.0 5.0 79.0 \n", "122 Galtier Elementary School 467.0 5.0 22.0 \n", "124 Hamline Elementary School 482.0 5.0 44.0 \n", "127 Highwood Hills Elementary 496.0 5.0 36.0 \n", "129 Humboldt High School 225.0 8.0 154.0 \n", "130 Jackson Preparatory Elementary 500.0 5.0 51.0 \n", "133 John A. Johnson Achievement Plus El. 415.0 5.0 54.0 \n", "135 Maxfield Elementary School 524.0 5.0 40.0 \n", "136 Mississippi Creative Arts Elementary 527.0 5.0 79.0 \n", "140 Obama Service Learning Elementary 578.0 5.0 46.0 \n", "142 Parkway Montessori/Community Middle 344.0 8.0 128.0 \n", "143 Paul & Sheila Wellstone Elementary 552.0 5.0 94.0 \n", "144 Phalen Lake Hmong Studies Magnet 541.0 5.0 97.0 \n", "147 Riverview West School Of Excellence 551.0 5.0 50.0 \n", "148 Saint Paul Music Academy 558.0 5.0 110.0 \n", "150 The Heights Community School 488.0 5.0 69.0 \n", "151 Washington Tech Secondary Magnet 252.0 8.0 302.0 \n", "\n", " Proficiency White% Asian% Black% ELL% SPED% FRPL% Ranking \\\n", "108 12.34 5.0 40.0 35.0 35.0 15.0 75.0 1.0 \n", "109 9.23 0.0 11.0 68.0 12.0 17.0 82.0 1.0 \n", "110 14.46 2.0 47.0 31.0 33.0 16.0 94.0 1.0 \n", "112 14.81 11.0 4.0 30.0 22.0 15.0 85.0 1.0 \n", "114 20.41 20.0 18.0 33.0 8.0 10.0 61.0 1.0 \n", "116 20.41 6.0 24.0 51.0 16.0 16.0 86.0 1.0 \n", "117 10.64 4.0 21.0 53.0 23.0 17.0 87.0 1.0 \n", "118 20.00 14.0 38.0 16.0 38.0 26.0 76.0 1.0 \n", "120 10.67 12.0 16.0 49.0 40.0 20.0 81.0 1.0 \n", "121 16.46 10.0 39.0 30.0 34.0 24.0 84.0 1.0 \n", "122 0.00 18.0 14.0 45.0 23.0 23.0 77.0 1.0 \n", "124 20.45 14.0 11.0 57.0 18.0 14.0 68.0 1.0 \n", "127 11.11 8.0 25.0 53.0 28.0 19.0 94.0 1.0 \n", "129 5.19 6.0 47.0 27.0 52.0 12.0 86.0 1.0 \n", "130 21.57 2.0 51.0 31.0 43.0 12.0 88.0 1.0 \n", "133 18.52 7.0 28.0 33.0 28.0 17.0 89.0 1.0 \n", "135 7.50 8.0 5.0 78.0 2.0 10.0 78.0 1.0 \n", "136 18.99 8.0 48.0 27.0 39.0 19.0 86.0 1.0 \n", "140 4.35 2.0 11.0 70.0 11.0 22.0 96.0 1.0 \n", "142 15.62 16.0 51.0 19.0 27.0 15.0 77.0 1.0 \n", "143 18.09 2.0 16.0 14.0 44.0 19.0 83.0 1.0 \n", "144 17.53 1.0 85.0 5.0 54.0 9.0 85.0 1.0 \n", "147 8.00 2.0 2.0 26.0 40.0 10.0 72.0 1.0 \n", "148 11.82 5.0 55.0 24.0 47.0 21.0 93.0 1.0 \n", "150 10.14 10.0 33.0 26.0 26.0 12.0 67.0 1.0 \n", "151 13.25 6.0 53.0 26.0 46.0 10.0 89.0 1.0 \n", "\n", " Address Latitude Longitude Subject \n", "108 2121 N Park Dr, St Paul, MN 55119 44.945684 -93.011786 Science \n", "109 560 Concordia Ave, St Paul, MN 55103 44.950302 -93.122300 Science \n", "110 409 Case Ave E, St Paul, MN 55130 44.970897 -93.082901 Science \n", "112 694 S Charlton St, St Paul, MN 55107 44.925156 -93.095431 Science \n", "114 65 E Kellogg Blvd, St Paul, MN 55101 44.945128 -93.090919 Science \n", "116 543 Front Ave, St Paul, MN 55117 44.970910 -93.122748 Science \n", "117 262 Bates Ave, St Paul, MN 55106 44.954667 -93.066688 Science \n", "118 2001 Margaret St, St Paul, MN 55119 44.961587 -93.016614 Science \n", "120 318 N Moore St, St Paul, MN 55104 44.950437 -93.183536 Science \n", "121 1505 Hoyt Ave E, St Paul, MN 55106 44.988560 -93.036775 Science \n", "122 1317 Charles Ave, St Paul, MN 55104 44.957900 -93.156079 Science \n", "124 1599 Englewood Ave, St Paul, MN 55104 44.964668 -93.168084 Science \n", "127 2188 Londin Ln E, St Paul, MN 55119 44.929363 -93.008086 Science \n", "129 30 Baker St E, St Paul, MN 55107 44.925973 -93.084077 Science \n", "130 437 Edmund Ave W, St Paul, MN 55103 44.958794 -93.118125 Science \n", "133 740 York Ave, St Paul, MN 55106 44.968026 -93.068801 Science \n", "135 380 N Victoria St, St Paul, MN 55104 44.952617 -93.135536 Science \n", "136 1575 L'Orient St, St Paul, MN 55117 44.988831 -93.090887 Science \n", "140 707 Holly Ave, St Paul, MN 55104 44.943603 -93.130054 Science \n", "142 1363 Bush Ave, St Paul, MN 55106 44.965483 -93.042832 Science \n", "143 1041 Marion St, St Paul, MN 55117 44.972856 -93.110499 Science \n", "144 1089 N Cypress St, St Paul, MN 55106 44.973861 -93.059345 Science \n", "147 160 Isabel St E, St Paul, MN 55107 44.932803 -93.076796 Science \n", "148 27 Geranium Ave E, St Paul, MN 55117 44.976042 -93.100194 Science \n", "150 1863 Clear Ave E, St Paul, MN 55119 44.982388 -93.020926 Science \n", "151 1495 Rice St, St Paul, MN 55117 44.987037 -93.111372 Science " ] }, "execution_count": 278, "metadata": {}, "output_type": "execute_result" } ], "source": [ "B=School[(School['Subject'] == 'Science')]\n", "\n", "B=B.query('School_Num not in (1581,1386)')\n", "B4=B.query('Ranking == 4')\n", "B3=B.query('Ranking == 3')\n", "B2=B.query('Ranking == 2')\n", "B1=B.query('Ranking == 1')\n", "\n", "B1" ] }, { "cell_type": "markdown", "metadata": {}, "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.7.3" } }, "nbformat": 4, "nbformat_minor": 2 }