Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Segment Customers and Summarize Spend | Automating Reports and Visual Insights
Python Automation for Reports and Visual Insights
Section 1. Chapitre 8
single

single

bookChallenge: Segment Customers and Summarize Spend

Glissez pour afficher le menu

Tâche

Glissez pour commencer à coder

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 8
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt