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

single

bookChallenge: Segment Customers and Summarize Spend

Deslize para mostrar o menu

Tarefa

Deslize para começar 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.

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

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

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

some-alt