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.
Solution
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.17
Challenge: Select and Filter Customer Data
Glissez pour afficher le 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.
Solution
Merci pour vos commentaires !
single