Course Content
Data Manipulation using pandas
Data Manipulation using pandas
Challenge
Let's replace missing values in the 'morgh', 'valueh'
with their respective means.
Swipe to show code editor
- Create a dictionary
values
with keys being column names ('grosrth', 'valueh'
) and values being their respective means. - Fill NA values using created previously dictionary
values
. Set theinplace
parameter so changes will save.
Thanks for your feedback!
Challenge
Let's replace missing values in the 'morgh', 'valueh'
with their respective means.
Swipe to show code editor
- Create a dictionary
values
with keys being column names ('grosrth', 'valueh'
) and values being their respective means. - Fill NA values using created previously dictionary
values
. Set theinplace
parameter so changes will save.
Thanks for your feedback!
Challenge
Let's replace missing values in the 'morgh', 'valueh'
with their respective means.
Swipe to show code editor
- Create a dictionary
values
with keys being column names ('grosrth', 'valueh'
) and values being their respective means. - Fill NA values using created previously dictionary
values
. Set theinplace
parameter so changes will save.
Thanks for your feedback!
Let's replace missing values in the 'morgh', 'valueh'
with their respective means.
Swipe to show code editor
- Create a dictionary
values
with keys being column names ('grosrth', 'valueh'
) and values being their respective means. - Fill NA values using created previously dictionary
values
. Set theinplace
parameter so changes will save.