Contenu du cours
Data Manipulation using pandas
Data Manipulation using pandas
2. Preprocessing Data: Part II
Challenge
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Tâche
Swipe to start coding
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 7
Challenge
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Tâche
Swipe to start coding
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 7