Challenge
Let's find out median number of people dwelling (median is more appropriate since we are working with integers) and mean total income for each type of dwelling.
Uppgift
Swipe to start coding
- Group the data in the
dfdataframe by the values of the'dtypeh'column. - Find out median value of the
'hhsize'column and mean value of the'totinch'column across each group.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.56
Challenge
Svep för att visa menyn
Let's find out median number of people dwelling (median is more appropriate since we are working with integers) and mean total income for each type of dwelling.
Uppgift
Swipe to start coding
- Group the data in the
dfdataframe by the values of the'dtypeh'column. - Find out median value of the
'hhsize'column and mean value of the'totinch'column across each group.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 4
single