Skip to main content
HomePython

Course

Analyzing Police Activity with pandas

IntermediateSkill Level
4.8+
25 reviews
Updated 09/2024
Explore the Stanford Open Policing Project dataset and analyze the impact of gender on police behavior using pandas.
Start Course for Free
PythonData Manipulation4 hr16 videos50 Exercises4,100 XP66,096Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Now that you have learned the foundations of pandas, this course will give you the chance to apply that knowledge by answering interesting questions about a real dataset! You will explore the Stanford Open Policing Project dataset and analyze the impact of gender on police behavior. During the course, you will gain more practice cleaning messy data, creating visualizations, combining and reshaping datasets, and manipulating time series data. Analyzing Police Activity with pandas will give you valuable experience analyzing a dataset from start to finish, preparing you for your data science career!

Prerequisites

Joining Data with pandas
1

Preparing the data for analysis

Before beginning your analysis, it is critical that you first examine and clean the dataset, to make working with it a more efficient process. In this chapter, you will practice fixing data types, handling missing values, and dropping columns and rows while learning about the Stanford Open Policing Project dataset.
Start Chapter
2

Exploring the relationship between gender and policing

3

Visual exploratory data analysis

4

Analyzing the effect of weather on policing

Analyzing Police Activity with pandas
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 25 reviews
80%
20%
0%
0%
0%
  • Anna
    15 minutes ago

  • patricia
    3 days ago

  • Kealeboga
    6 days ago

    ON point and exciting. I have learned quite important skills using pandas

  • Atena
    2 months ago

  • Matt
    6 months ago

  • JEREMIA
    6 months ago

    thank you

"ON point and exciting. I have learned quite important skills using pandas"

Kealeboga

Atena

Matt

FAQs

What dataset does this course use for analysis?

You analyze the Stanford Open Policing Project dataset, a real-world collection of traffic stop records, to explore how gender relates to police behavior during stops.

Is this course suitable if I just finished learning basic pandas?

It is designed for learners who already know pandas fundamentals. You should be comfortable with filtering, grouping, and joining DataFrames before starting.

What data cleaning skills will I practice in this course?

You will practice fixing data types, handling missing values, and dropping unnecessary columns and rows as part of preparing messy real-world data for analysis.

Does the course include data visualization?

Yes. Chapter 3 focuses on visual exploratory data analysis, using plots to identify trends in arrest timing and drug-related stop frequencies that raw data alone cannot reveal.

Will I work with multiple datasets or just one?

You work with two datasets. A second weather dataset is introduced in Chapter 4, which you merge with the policing data to study how weather conditions affect police behavior.

Join over 19 million learners and start Analyzing Police Activity with pandas today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.