Conteúdo do Curso
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.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Tudo estava claro?
Challenge
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Tudo estava claro?
Challenge
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.
Tudo estava claro?
Let's find out the average prices for each pair of number of rooms - number of bedrooms in a dwelling.
Tarefa
- Group the values in the
df
dataframe by values of'roomh', 'broomh'
columns. - Select the
'valueh'
column. - Calculate means for each group.