Cohort Analysis
Analyzing cohort behavior
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
I want to perform a cohort analysis for [BUSINESS_CONTEXT] on data covering [PERIOD]. Define how to segment cohorts [by signup date, purchase date, etc.], the metrics to track for each cohort, and generate the Python code to create a retention heatmap.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Astuce : pour éviter un biais de survie, précisez dans le prompt que les cohortes doivent être normalisées par rapport à leur taille au moment t=0. Cela rend la heatmap plus lisible et comparable entre cohortes de tailles différentes.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.