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.
Soluzione
Grazie per i tuoi commenti!
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 4.17
Challenge: Select and Filter Customer Data
Scorri per mostrare il 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.
Soluzione
Grazie per i tuoi commenti!
single