Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Dropping Null Values | Section
Data Manipulation with pandas
Seção 1. Capítulo 17
single

single

bookChallenge: Dropping Null Values

Deslize para mostrar o menu

If a dataset contains rows with null values, consider removing them. In pandas, you can do this using the dropna() method.

Tarefa

Swipe to start coding

You are given a DataFrame named wine_data.

  • Get the length of this DataFrame before removing null values and assign the result to the length_before variable.
  • Remove rows with null values and store the resulting DataFrame in wine_data.
  • Get the length of wine_data after removing null values and assign the result to the length_after variable.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 17
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt