セクション 3. 章 8
single
Challenge: Dropping Null Values
メニューを表示するにはスワイプしてください
If a dataset contains rows with null values, consider removing them. In pandas, you can do this using the dropna() method.
タスク
スワイプしてコーディングを開始
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.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 8
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください