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.
Tarea
Swipe to start coding
- Group the data in the
df
dataframe 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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 4. Capítulo 4
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 2.56
Challenge
Desliza para mostrar el menú
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.
Tarea
Swipe to start coding
- Group the data in the
df
dataframe 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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 2.56Sección 4. Capítulo 4
single