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

single

bookChallenge: Segment Customers and Summarize Spend

Pyyhkäise näyttääksesi valikon

Tehtävä

Pyyhkäise aloittaaksesi koodauksen

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 8
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt