Секція 1. Розділ 3
single
Challenge: Cohort Data Preparation
Свайпніть щоб показати меню
You are about to apply your knowledge from previous chapters on cohort assignment and feature engineering. Your task is to prepare a sample transactional dataset for cohort analysis.
Завдання
Проведіть, щоб почати кодувати
Prepare a transactional dataset for cohort analysis by engineering new features for cohort assignment and user activity.
- Assign a
cohort_monthcolumn for each transaction, based on the month of the user's first purchase. - Create a
cohort_indexcolumn representing the number of months since the user's cohort month for each transaction. - Add a
total_orderscolumn indicating the cumulative number of orders for each user up to and including the current transaction.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат