Saltar al contenido principal
InicioPython

Analyzing Police Activity with pandas

Explore the Stanford Open Policing Project dataset and analyze the impact of gender on police behavior using pandas.

Comienza El Curso Gratis
4 horas16 vídeos50 ejercicios64.667 aprendicesTrophyDeclaración de cumplimiento

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.
Group

¿Entrenar a 2 o más personas?

Probar DataCamp for Business

Preferido por estudiantes en miles de empresas


Descripción del curso

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!
Empresas

¿Entrenar a 2 o más personas?

Obtén a tu equipo acceso a la plataforma DataCamp completa, incluidas todas las funciones.
DataCamp Para EmpresasPara obtener una solución a medida, reserve una demostración.
  1. 1

    Preparing the data for analysis

    Gratuito

    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.

    Reproducir Capítulo Ahora
    Stanford Open Policing Project dataset
    50 xp
    Examining the dataset
    100 xp
    Dropping columns
    100 xp
    Dropping rows
    100 xp
    Using proper data types
    50 xp
    Finding an incorrect data type
    50 xp
    Fixing a data type
    100 xp
    Creating a DatetimeIndex
    50 xp
    Combining object columns
    100 xp
    Setting the index
    100 xp
  2. 3

    Visual exploratory data analysis

    Are you more likely to get arrested at a certain time of day? Are drug-related stops on the rise? In this chapter, you will answer these and other questions by analyzing the dataset visually, since plots can help you to understand trends in a way that examining the raw data cannot.

    Reproducir Capítulo Ahora
  3. 4

    Analyzing the effect of weather on policing

    In this chapter, you will use a second dataset to explore the impact of weather conditions on police behavior during traffic stops. You will practice merging and reshaping datasets, assessing whether a data source is trustworthy, working with categorical data, and other advanced skills.

    Reproducir Capítulo Ahora
Empresas

¿Entrenar a 2 o más personas?

Obtén a tu equipo acceso a la plataforma DataCamp completa, incluidas todas las funciones.

conjuntos de datos

Traffic stops in Rhode IslandWeather in Providence, Rhode Island

colaboradores

Collaborator's avatar
Becca Robins
Collaborator's avatar
Sara Snell

requisitos previos

Joining Data with pandas
Kevin Markham HeadshotKevin Markham

Founder of Data School

Ver Más

¿Qué tienen que decir otros alumnos?

¡Únete a 15 millones de estudiantes y empieza Analyzing Police Activity with pandas hoy mismo!

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.