Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Segment Customers and Summarize Spend | Automating Reports and Visual Insights
Python Automation for Reports and Visual Insights
Секція 1. Розділ 8
single

single

bookChallenge: Segment Customers and Summarize Spend

Свайпніть щоб показати меню

Завдання

Проведіть, щоб почати кодувати

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 8
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt