Kursinhalt
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.
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 7
Challenge
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 7