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

Pergunte à IA

expand
ChatGPT

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

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
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt