Challenge: Select and Filter Customer Data
Swipe to start coding
In this task, you will apply your knowledge of selecting and filtering data frames in R to prepare a list of customers for a marketing campaign. The goal is to extract only the relevant columns and filter customers who are located in a specific city.
- Select only the
name,email, andcitycolumns from the data frame. - Filter the data to include only customers whose
citymatches thetarget_cityparameter. - Return the resulting data frame.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 4.17
Challenge: Select and Filter Customer Data
Deslize para mostrar o menu
Swipe to start coding
In this task, you will apply your knowledge of selecting and filtering data frames in R to prepare a list of customers for a marketing campaign. The goal is to extract only the relevant columns and filter customers who are located in a specific city.
- Select only the
name,email, andcitycolumns from the data frame. - Filter the data to include only customers whose
citymatches thetarget_cityparameter. - Return the resulting data frame.
Solução
Obrigado pelo seu feedback!
single