Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Extracting Specific Data | Extracting Data
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

bookExtracting Specific Data

Tarea
test

Swipe to show code editor

Your task here is to practice. You need to extract specific data on cars. Follow the algorithm:

  1. Using the.between() method create the condition to extract data on cars where 'Price' is between 15 000(inclusive) and 20 000(exclusive).
  2. Using the .between() method create the condition to extract data on cars where 'Year' is between 2015(exclusive) and 2020(exclusive).
  3. Using the.isin() method create the condition to extract data on such values from 'Fuel_type' column: 'Plug-in Hybrid' and 'Hybrid' (the values are stored in the variable fuel_types).
  4. Unite three conditions using two and statements.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 4
toggle bottom row

bookExtracting Specific Data

Tarea
test

Swipe to show code editor

Your task here is to practice. You need to extract specific data on cars. Follow the algorithm:

  1. Using the.between() method create the condition to extract data on cars where 'Price' is between 15 000(inclusive) and 20 000(exclusive).
  2. Using the .between() method create the condition to extract data on cars where 'Year' is between 2015(exclusive) and 2020(exclusive).
  3. Using the.isin() method create the condition to extract data on such values from 'Fuel_type' column: 'Plug-in Hybrid' and 'Hybrid' (the values are stored in the variable fuel_types).
  4. Unite three conditions using two and statements.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 4
toggle bottom row

bookExtracting Specific Data

Tarea
test

Swipe to show code editor

Your task here is to practice. You need to extract specific data on cars. Follow the algorithm:

  1. Using the.between() method create the condition to extract data on cars where 'Price' is between 15 000(inclusive) and 20 000(exclusive).
  2. Using the .between() method create the condition to extract data on cars where 'Year' is between 2015(exclusive) and 2020(exclusive).
  3. Using the.isin() method create the condition to extract data on such values from 'Fuel_type' column: 'Plug-in Hybrid' and 'Hybrid' (the values are stored in the variable fuel_types).
  4. Unite three conditions using two and statements.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Tarea
test

Swipe to show code editor

Your task here is to practice. You need to extract specific data on cars. Follow the algorithm:

  1. Using the.between() method create the condition to extract data on cars where 'Price' is between 15 000(inclusive) and 20 000(exclusive).
  2. Using the .between() method create the condition to extract data on cars where 'Year' is between 2015(exclusive) and 2020(exclusive).
  3. Using the.isin() method create the condition to extract data on such values from 'Fuel_type' column: 'Plug-in Hybrid' and 'Hybrid' (the values are stored in the variable fuel_types).
  4. Unite three conditions using two and statements.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 3. Capítulo 4
Switch to desktopCambia 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