Seção 1. Capítulo 17
single
Challenge: 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
DataFramebefore removing null values and assign the result to thelength_beforevariable. - Remove rows with null values and store the resulting
DataFrameinwine_data. - Get the length of
wine_dataafter removing null values and assign the result to thelength_aftervariable.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 17
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo