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

Desliza para mostrar el menú

book
Task: Extract Sales Data For Analysis

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 9

Pregunte a AI

expand
ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

book
Task: Extract Sales Data For Analysis

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 9
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Lamentamos que algo salió mal. ¿Qué pasó?
some-alt