Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Segment Customers and Summarize Spend | Automating Reports and Visual Insights
Python Automation for Reports and Visual Insights
Sección 1. Capítulo 8
single

single

bookChallenge: Segment Customers and Summarize Spend

Desliza para mostrar el menú

Tarea

Desliza para comenzar a programar

Create a function that organizes customer data into segments and summarizes their spending.

  • Use the provided data to create a DataFrame with customer IDs, segment labels, and spend amounts.
  • Group the data by the segment column.
  • Calculate the average spend for each segment.
  • Output a summary showing the average spend per segment.

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 1. Capítulo 8
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

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

some-alt