Skip to content

2024 Pittsburgh Arrest Data#56

Open
BBarr-PDAP wants to merge 3 commits into
mainfrom
2024-Fall-Arrest-Data-Allegheny-County-
Open

2024 Pittsburgh Arrest Data#56
BBarr-PDAP wants to merge 3 commits into
mainfrom
2024-Fall-Arrest-Data-Allegheny-County-

Conversation

@BBarr-PDAP

Copy link
Copy Markdown
Collaborator

An analysis of arrest data in Pittsburgh. File contains a line graph from 2017 to 2023, bar graph of total arrests in each zone, stacked bar graph of types of arrests in each zone, and a pie chart of the percentage of types of arrests.

…issues/47

Here is a rough draft for the arrest data analysis. There are four graphs so far: line graph on arrest trends over time, arrest rate by zone, arrest rate for race by year, and arrest rate for race by zone.
…issues/48

This file has a line graph of arrests over time (2017-2023), total arrests by zone, arrests by offense type by zone, and a pie chart of portion of arrests by offense type. There is an outstanding graph to create a line graph with each record type over time (if needed).

@josh-chamberlain josh-chamberlain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Brian!

We just need to change the file references—they all contain stuff like this:

arrest_df = pd.read_csv(r"C:\Users\barrb\Downloads\e03a89dd-134a-4ee8-a2bd-62c40aeebc6f (1).csv")

We need them to reference the files in the repo—it should look like pd.read_csv('file.csv') where file.csv is in the same folder as the notebook, and replaced with the actual file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants