Contenu du cours
Data Manipulation using pandas
Data Manipulation using pandas
2. Preprocessing Data: Part II
Challenge 1
Let's practice building different kinds of plots! First, let's find out is there a relation between a dwelling value and major payments to secure shelter.
Tâche
Swipe to start coding
- Initialize a scatter plot for the
df
dataframe. - Display the
'valueh'
column values on the x-axis, and the'omphtotinch'
values on the y-axis. - Set color of points to orange (
color
,'orange'
).
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 9
Challenge 1
Let's practice building different kinds of plots! First, let's find out is there a relation between a dwelling value and major payments to secure shelter.
Tâche
Swipe to start coding
- Initialize a scatter plot for the
df
dataframe. - Display the
'valueh'
column values on the x-axis, and the'omphtotinch'
values on the y-axis. - Set color of points to orange (
color
,'orange'
).
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 9