Course Content
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.
Task
Swipe to begin your solution
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 7
Challenge
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Task
Swipe to begin your solution
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 7
Switch to desktop for real-world practiceContinue from where you are using one of the options below