What it is
Read data with cohort identifiers and a time dimension, compute retention curves, drop-off points, and feature-adoption trends, produce heatmaps and comparison charts, then recommend follow-up research. For product and growth analysts diagnosing retention across user batches. It makes no causal claims and does not replace event-tracking governance.
Core workflow
| Stage | Content |
|---|---|
| Trigger | You need cohort retention, feature adoption, churn patterns, or engagement trends analyzed |
| Input | CSV, Excel, JSON, or SQL results with a cohort identifier, time periods, and engagement metrics; optional context on launches and redesigns |
| Steps | Validate structure and missing values → compute retention and trends, flag anomalies → build a retention heatmap, cohort curves, and adoption comparisons → extract 2–3 significant patterns → suggest interviews, surveys, session replays, win/loss review |
| Output | Data summary and quality check, quantitative findings, charts, 2–3 patterns, follow-up research and experiment ideas, optional pandas/numpy scripts, and prioritized next steps |
| Boundary | Needs a time dimension and at least 3–4 cohorts; defines no tracking; no significance testing or causal conclusions |
Getting started: Write the cohort definition as one sentence, then confirm you cover 3+ batches.
Traits
- Accepts CSV, Excel, JSON, and SQL results, checking structure and missing values first
- A fixed chart set: retention heatmap, cohort progression curves, adoption comparison charts
- Only 2–3 significant patterns are reported, with surprising findings called out
- Every round pairs with follow-up research: churning-user interviews, feature surveys, session replays, high- vs low-retention comparisons
Who it is for and who it is not for
| Good fit | Poor fit |
|---|---|
| You already have cohort and time-series data | A single point-in-time snapshot |
| Judging which cohort retains worse | Proving a change caused a retention shift |
| Handing charts and recommendations to a team | Data-warehouse modeling or a tracking plan |
How it differs
| Need | Use |
|---|---|
| Compare batches using retention data | cohort-analysis |
| Experience and emotion stage by stage | phuryn-pm-skills-pm-market-research-customer-journey-map |
| Define target customers and disqualifiers | phuryn-pm-skills-pm-go-to-market-ideal-customer-profile |
| Pick one leading metric and break it down | phuryn-pm-skills-pm-marketing-growth-north-star-metric |
Source-level risks
| Risk | Source | Impact |
|---|---|---|
| No significance testing step | The five steps mention neither significance tests nor confidence intervals | Small cohort differences may read as real patterns |
| A low sample threshold | The tips ask only for “at least 3–4 cohorts” | Trends are unstable with few batches |
| Scripts depend on a runtime | pandas/numpy scripts are optional output, but no data or environment ships with the skill | You must supply an environment to reproduce anything |
| Findings are correlational | The last step uses qualitative research to explain patterns | A chart difference is not a cause |
Python example: weekly cohort retention
Compute a retention matrix from an event table with pandas. Synthetic data; swap in your own.
import pandas as pd
# events: user_id, event_date
df = pd.read_csv("events.csv", parse_dates=["event_date"])
df["cohort"] = df.groupby("user_id")["event_date"].transform("min").dt.to_period("W")
# weeks since the user's first activity
df["week"] = ((df["event_date"] - df["cohort"].dt.start_time).dt.days // 7)
# matrix: rows = cohort, columns = week N, values = distinct users
matrix = (df.groupby(["cohort", "week"])["user_id"]
.nunique()
.unstack(fill_value=0))
# retention rate: divide each row by its week 0
retention = matrix.div(matrix[0], axis=0)
print(retention.round(3))
Reading it:
| Column | Meaning |
|---|---|
| W0 | baseline, always 1.0 |
| W1 / W4 / W12 | usually the three points worth watching |
| empty | that cohort has not reached the week yet, not zero |
Caveat: with weekly cohorts, the most recent rows are incomplete; compare cohorts at the same age.