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

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.

Everything was clear?

Section 2. Chapter 8
toggle bottom row
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.

Everything was clear?

Section 2. Chapter 8
toggle bottom row
some-alt