Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Selecting Data Based on Condition | Dealing With Conditions
Advanced Techniques in pandas
course content

Contenido del Curso

Advanced Techniques in pandas

Advanced Techniques in pandas

1. Getting Familiar With Indexing and Selecting Data
2. Dealing With Conditions
3. Extracting Data
4. Aggregating Data
5. Preprocessing Data

Selecting Data Based on Condition

To excel in programming, you always need to practice. So, in this task, you must also memorize functions from the previous chapter. If you aren't solid on the functions from the last chapter, look at the hints to revise them.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 2
toggle bottom row

Selecting Data Based on Condition

To excel in programming, you always need to practice. So, in this task, you must also memorize functions from the previous chapter. If you aren't solid on the functions from the last chapter, look at the hints to revise them.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 2. Capítulo 2
toggle bottom row

Selecting Data Based on Condition

To excel in programming, you always need to practice. So, in this task, you must also memorize functions from the previous chapter. If you aren't solid on the functions from the last chapter, look at the hints to revise them.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

To excel in programming, you always need to practice. So, in this task, you must also memorize functions from the previous chapter. If you aren't solid on the functions from the last chapter, look at the hints to revise them.

Tarea

  1. Extract all rows from the columns 'name' and 'hazardous' using the .loc[] attribute.
  2. Filter data; extract rows where 'hazardous' is True.
  3. Output the first five rows of the data_filtered dataset.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 2. Capítulo 2
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt