Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Task: Extract Sales Data For Analysis | Fetching Data from DataFrames
Pandas: First Steps

Deslize para mostrar o menu

book
Task: Extract Sales Data For Analysis

Tarefa

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 and Loyalty Member columns from the DataFrame df.
  • Store them into a new variable called spending_vs_loyalty.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 9
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

Awesome!

Completion rate improved to 2.7

book
Task: Extract Sales Data For Analysis

Tarefa

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 and Loyalty Member columns from the DataFrame df.
  • Store them into a new variable called spending_vs_loyalty.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

close

Awesome!

Completion rate improved to 2.7

Deslize para mostrar o menu

some-alt