Task: Extract Sales Data For Analysis
Swipe to start coding
At the Café, the manager wants to investigate whether being a Loyalty Member affects how much customers spend.
You've been tasked with seleting and showing only the data from the two relevant columns. This will help the manager easily analyze the relationship between spending and loyalty membership.
- Extract the
Amount Spent
andLoyalty Member
columns from the DataFramedf
. - Store them into a new variable called
spending_vs_loyalty
.
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
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 2.7
Task: Extract Sales Data For Analysis
Glissez pour afficher le menu
Swipe to start coding
At the Café, the manager wants to investigate whether being a Loyalty Member affects how much customers spend.
You've been tasked with seleting and showing only the data from the two relevant columns. This will help the manager easily analyze the relationship between spending and loyalty membership.
- Extract the
Amount Spent
andLoyalty Member
columns from the DataFramedf
. - Store them into a new variable called
spending_vs_loyalty
.
Solution
Merci pour vos commentaires !
Awesome!
Completion rate improved to 2.7single