Seksjon 3. Kapittel 9
single
Task: Extract Sales Data For Analysis
Sveip for å vise menyen
Oppgave
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 SpentandLoyalty Membercolumns from the DataFramedf. - Store them into a new variable called
spending_vs_loyalty.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 9
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår