LoslegenKostenlos loslegen

Calculating KPIs

You're now going to take what you've learned and work through calculating a KPI yourself. Specifically, you'll calculate the average amount paid per purchase within a user's first 28 days using the purchase_data DataFrame from before.

This KPI can provide a sense of the popularity of different in-app purchase price points to users within their first month.

Diese Übung ist Teil des Kurses

Customer Analytics and A/B Testing in Python

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Compute max_purchase_date 
max_purchase_date = ____ - timedelta(days=____)
Code bearbeiten und ausführen