EDA with an assistant is not "ask the AI what's interesting." It is a disciplined loop: the model proposes hypotheses, generates analysis code, and you validate every finding before it enters the memo.
Tier: Foundation · Workflow area: Exploratory analysis
Done right, you explore three times as many hypotheses in the same time; done lazily, you ship a memo full of confident artifacts. The 2025 Stack Overflow survey's top AI frustration — "almost right" code — is precisely the risk here, because almost-right EDA code still produces a chart.
Skip the full loop for a single known cut ("plot revenue by month") — just write it.
Hypothesis generation, breadth-first. Paste business context plus schema:
Context: subscription SaaS, weekly signups table (2023-2026), columns:
signup_date, channel, plan, country, trial_converted, mrr_first_invoice.
Question: trial-to-paid conversion fell from 18% to 14% between March and
June 2026. Generate 12 distinct hypotheses that could explain this, tagged
[mix-shift | behavior-change | data-artifact | seasonality]. For each, state
the exact cut of the data that would confirm or refute it.
Insist on the data-artifact tag — instrumentation changes explain a large share of real "trends".
Prioritize yourself. Pick 4–6 hypotheses by plausibility and cost to test. This judgment is your job; models rank by genericness, not by what you know about the March pricing change.
Generate analysis code per hypothesis, with a falsification framing:
Hypothesis H3: the dip is a mix shift toward paid-social signups, which
always convert worse. Write pandas code that:
- computes conversion by channel by month,
- decomposes the overall change into within-channel change vs mix change,
- prints both components as percentage points.
Aim to REFUTE the hypothesis; note what result would falsify it.
Run, inspect, and challenge. Execute each cell. For anything surprising, ask: This shows within-channel conversion flat but mix explaining 3.2pp. List three ways this decomposition could be misleading given the schema above. (Simpson's-style aggregation, denominator shifts from a signup-form change, censoring of recent trials that have not finished their window.)
Chase the artifact angle explicitly. Before believing any behavioral finding, test the boring explanation: definition changes, tracking gaps, timezone shifts, incomplete recent periods. trial_converted for June cohorts may simply not be mature — recompute with a fixed 30-day window.
Write the memo with numbers pinned. Paste your verified tables and ask for a memo draft: findings ranked by confidence, each with the supporting number and the cut it came from, plus a "what we ruled out" section. Rewrite the interpretation sentences yourself — you sign the memo.
The assistant multiplies hypotheses tested per hour; only execution and your falsification pass turn its output into findings.
len(df) before and after every transform.