Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge | Preprocessing Data: Part II
Data Manipulation using pandas
course content

Course Content

Data Manipulation using pandas

Challenge

Let's replace missing values in the 'morgh', 'valueh' with their respective means.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Everything was clear?

Section 2. Chapter 8
toggle bottom row

Challenge

Let's replace missing values in the 'morgh', 'valueh' with their respective means.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Everything was clear?

Section 2. Chapter 8
toggle bottom row

Challenge

Let's replace missing values in the 'morgh', 'valueh' with their respective means.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Everything was clear?

Let's replace missing values in the 'morgh', 'valueh' with their respective means.

Task

  1. Create a dictionary values with keys being column names ('grosrth', 'valueh') and values being their respective means.
  2. Fill NA values using created previously dictionary values. Set the inplace parameter so changes will save.

Section 2. Chapter 8
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt