Better questions.
Clearer analysis.
Learn SQL, work through Python examples, and build the judgement behind a useful analysis. Start with a guide. Try it for yourself.
Latest guides
18 November 2026Build a GTA 6-inspired launch dashboard with SQL
Use tested synthetic session data to distinguish players, sessions, engagement and eligible retention.
Find Customers Who Bought Every Required Product in SQL
Test product coverage with double NOT EXISTS, including duplicates and empty requirements.
Why pandas cut Leaves Valid Amounts Unclassified
Audit bin boundaries, known out-of-range amounts, and missing source values.
How to Count Active Subscriptions on a Date in SQL
Handle renewal boundaries and separate subscription records from distinct customers.
Why pandas Chained Assignment Leaves Your Data Unchanged
Test a Copy-on-Write assignment failure and verify a targeted .loc correction.
How to Find Consecutive Active-Day Streaks in SQL
Deduplicate active dates and identify streaks across month boundaries with a tested SQL example.
How to Calculate a Median by Group in SQL
Handle odd and even samples, tied durations, and missing measurements with a tested query.
Calculate downtime from overlapping incidents
Merge nested tickets and reconcile warehouse downtime in minutes.
Calculate inventory as of a reporting date
Find the last known balance for each warehouse.
Count an ordered checkout funnel in SQL
Test which visits convert when checkout retries reset the payment window.
How to turn events into sessions in SQL
Group a cross-midnight visit and test the exact inactivity threshold.
Count distinct customers in a rolling seven-day window
Test repeat activity, missing IDs and customers leaving the window without adding daily distinct counts.
Why a left merge hides right-only records
Audit both exports and separate missing keys from mismatched USD amounts.
Count cumulative distinct customers from first appearances
Test returning customers, missing IDs and dates with no new customers in a reproducible SQL exercise.
Why pandas imports a valid NA code as missing
Preserve literal region codes and reconcile $280 without hiding genuinely empty fields.
Why SQL not-equal filters exclude NULL statuses
Reconcile $280 across paid, pending, canceled and unresolved orders without inventing missing facts.
Why pandas map turns a valid code into NaN
Separate unmapped codes from missing inputs and reconcile a tested $280 channel-revenue example.
Join sales and refunds without multiplying totals
Aggregate independent transaction tables first, then reconcile sales, refunds and net activity.
Why reindex leaves existing NaN values
Distinguish new market labels from unknown revenue before filling gaps with zero.
Percentage change from a zero baseline
Keep undefined percentages distinct from no growth, with tested USD examples and an aggregate comparison.
Why a new shared column breaks a pandas merge
Test explicit join keys, match coverage and USD totals when status means different things in two files.
Why CASE assigns the wrong value band
Test overlapping thresholds and keep unknown order amounts separate.
Why pandas sorts 9 above 100
Parse numeric amounts before ranking orders and preserve missing-value evidence.
Why canceled orders pass an AND/OR filter
Group country alternatives and test every status branch before totaling orders.
Why a text filter selects the wrong code
Compare regex, literal substring and exact matching with tested USD totals.
Weighted averages with missing prices
Match eligible units in both sums and report missing-price coverage.
Does concat catch duplicate orders?
A tested pandas example distinguishes index uniqueness from business-key validation.
Why adding an ID removes SQL rank ties
Preserve equal-spend leaders while keeping the displayed result deterministic.
Why a mask and its inverse can omit rows
Separate true, false and unknown statuses; reconcile six orders and $380.
Which pandas customer count is correct?
Compare rows, identified orders and known customers without inventing missing identities.
Why averages of components can disagree
Audit complete pairs and compare $110, $90 and $60 results from the same USD orders.
WHERE or HAVING for customer spend?
Test combined purchases, canceled orders and exact USD thresholds.
Why cumsum resumes after missing revenue
Compare known running subtotals, complete totals, and missing-day coverage.
Why joining on order ID alone mixes regional customers
Test source-system identity and reconcile a $240 SQL example.
Can forward fill cross account boundaries?
Test grouped filling, chronological order, and explicit missing-update assumptions.
Why EXISTS with COUNT(*) returns true for zero
Test a zero-valued aggregate row against a subquery with no matching orders.
Can merge_asof match a future price?
Test backward and nearest matching, exact timestamps, and stale USD reference prices.
Count distinct pairs without key collisions
Test concatenated identifiers, separator collisions, and unresolved account–campaign activity.
Does min_count=1 make revenue complete?
Separate missing amounts, known subtotals, and confirmed zeros with tested pandas checks.
Why filtering changes a SQL revenue share
Keep population filters separate from display filters with a tested USD example.
PERCENT_RANK vs CUME_DIST with ties
Compare relative ranks and cumulative shares with tested customer-spend examples.
Audit duplicate order keys in pandas
Separate replayed payloads from conflicting amounts before deleting records.
Why Series assignment creates NaN values
Test index labels and order identity before replacing missing values or assigning by position.
Average order value: aggregate order lines first
Test US and UK order totals and avoid confusing line averages with order averages.
Why qcut bin edges must be unique
Test duplicate boundaries, reduced category counts, and explicit USD thresholds.
Why NTILE splits equal-spend customers
Test balanced row buckets against tied spend levels in a US and UK example.
Does utc=True convert local time correctly?
Test source timezone assumptions with New York and London event exports.
Why LAST_VALUE returns the current row
Choose the frame endpoint and test final NULLs, MAX, and retrospective comparisons.
Pandas first: are you selecting a real row?
Keep source records intact when grouped summaries skip missing fields.
Does LAG return the previous month?
Check missing periods and zero denominators before reporting monthly growth.
Why Does pandas Convert the String False to True?
Parse CSV flags explicitly, preserve unknown statuses, and check conversion denominators.
SQL conditional counts: why ELSE 0 fails
Compare COUNT and SUM, retain unknown outcomes, and define the success-rate denominator.
Why SUM(DISTINCT amount) loses real orders
Test equal-value orders, summarize items before joining, and reconcile revenue to its source.
Pandas transform vs agg: keep order rows
Add market totals and revenue shares while checking row alignment and repeated denominators.
SQL running totals with tied timestamps
Compare peer totals, explicit row ordering, and daily aggregation with a tested USD fixture.
Pandas pivot table: mean or total revenue?
Choose the aggregation and reconcile a US/UK order export with tested checks.
Why is your SQL conversion rate 0%?
Test integer division, missing denominators, and percentage formatting before sharing a dashboard.
Pandas explode: preserve order revenue
Separate orders from tags and test empty lists before aggregating a nested export.
SQL date filters: stop midnight double-counting
Test adjacent reporting periods, fractional seconds, and missing timestamps against USD totals.
Pandas null-key merges: check attribution
Find a false customer match that preserves totals and passes uniqueness validation.
UNION vs UNION ALL: reconcile regional sales
Preserve independent order identities and test duplicate imports with a USD example.
Pandas GroupBy: keep unassigned revenue
Retain missing country keys and reconcile row counts and USD totals with tested code.
LEFT JOIN: keep zero-activity campaigns
Test ON versus WHERE filters, the OR NULL trap, and correct event counts.
Pandas: find invalid numeric values
Separate missing and malformed inputs while preserving original evidence.
SQL NULL vs zero: missing amounts
Distinguish partial sums, unknown values and real zeros with tested invoice data.
GA4 event plan: clicks are not confirmed leads
Define success signals and test repeated callbacks before reporting enquiries.
Does LIMIT reduce BigQuery costs?
Reproduce a dashboard budget with explicit scan-volume assumptions.
Keep leading zeros in Python CSV imports
Preserve US ZIP codes and UK postcodes with tested text-import and missing-value checks.
SQL seven-day moving average: missing dates
Use a complete calendar and distinguish zero sales from an incomplete data feed.
Two events at 1:30 AM: repeated hours in Python
Preserve event instants and calculate elapsed duration across the autumn clock change.
Can you add DAU to get weekly users?
Test distinct users, user-days and complete-week averages with runnable SQL.
Round USD amounts in Python
Explain a one-cent difference with tested Decimal calculations and explicit rounding rules.
Audit missing customer IDs in SQL
Separate event rows, identified activity and distinct customers with a tested example.
SQL · data quality
Latest row per customer: handle timestamp ties
A tested ROW_NUMBER example with tied events, missing dates and current-status filtering.
Can you average conversion rates?
Combine regional reports correctly with a tested US/UK example and explicit denominator checks.
Read guide ↗Find customers with no orders
Compare NOT EXISTS and LEFT JOIN with tested examples, canceled orders and a NULL trap.
Read guide ↗Check your A/B test’s traffic split
Run a sample ratio mismatch check and investigate experiment quality before interpreting lift.
Read guide ↗Mean versus median: explain the dashboard
Use a tested support-ticket example to distinguish the middle experience from long delays.
Read guide ↗Parse US and UK dates without guessing
Use explicit source formats and preserve ambiguous or invalid CSV records for review.
Read guide ↗Reconcile orders and payments in SQL
Find missing payments, duplicates and amount differences with a tested dataset.
Read guide ↗Why conversion can fall while every channel improves
Separate traffic mix from channel performance with a runnable SQL case study.
Read guide ↗AI Data Agents: Build an Evaluation Project for Your Portfolio
Evaluate an AI data agent with answerable, ambiguous and restricted questions. Build a practical accuracy and permissions scorecard.
Read guide ↗Apache Iceberg and Cross-Cloud Analytics: An Interview Guide
Separate table formats, catalogs and query engines, then compare cross-cloud analytics designs with a worked USD cost example.
Read guide ↗Lakebase Snapshots: Practise a Database Restore Interview
Use a synthetic incident to explain snapshots, recovery objectives and restore validation with a concrete timeline.
Read guide ↗Row-Level Security, Column Masking and ABAC: Worked Examples
Distinguish row filters from column masks and build an access test matrix using synthetic sales records.
Read guide ↗Excel and Databricks: Build a Governed Reporting Workflow
Practise grain checks, refresh validation and safe separation of spreadsheet analysis from database write-back.
Read guide ↗How to Check AI-Generated SQL: 7 Mistakes with Examples
Validate AI-generated SQL with seven practical checks covering joins, dates, nulls, metric definitions and reconciliation.
Read guide ↗DuckDB vs Pandas: Analyse the Same Sales Dataset
Run a small sales analysis in DuckDB SQL and pandas, compare matching results, and learn when each approach is useful.
Read guide ↗Analytics Engineer Interview Questions: Models, Tests and Debugging
Practise analytics engineering interview questions about model grain, dbt tests, incremental loads and trustworthy metrics.
Read guide ↗What Is a Semantic Layer? A Revenue Metrics Example
Understand semantic layers through a worked revenue example covering metric definitions, grain, refunds and consistent reporting.
Read guide ↗Power BI Copilot: How to Verify a Report Summary
Check Power BI Copilot summaries against report filters, measures and source totals using a worked revenue example.
Read guide ↗Is Power BI Free or Paid? A Portfolio Builder’s Guide
Choose a setup for learning, presenting a portfolio and sharing a private report. Understand where licensing changes the answer.
Read guideLearn Python for Beginners: Analyse a Sales CSV
Read a small CSV, apply a business rule and verify category totals using only Python’s standard library.
Read guideSQL vs NoSQL: Explain the Difference with an Order Example
Compare a relational order model with a document model, then explain the trade-offs without repeating database myths.
Read guideStructured, Semi-Structured and Unstructured Data: A Practical Guide
Classify tables, JSON, images and text by the information you need to analyse, then turn a mixed support dataset into measurable fields.
Read guideMaven Analytics Data Playground: Choose a Dataset for a Useful Portfolio
Evaluate a practice dataset, write a defensible project brief and avoid producing another dashboard without a clear analytical question.
Read guideStart with a worked example
Learn by doingRevenue dropped.
What changed?
Use SQL to separate traffic, conversion, and order value—and find where to investigate next.
Is your merge doubling revenue?
Catch duplicate customer records, keep missing matches visible, and reconcile your totals.
Read guideA case study you can stand behind
Turn a checkout funnel into a clear portfolio story, with honest assumptions and reproducible calculations.
Read guideBuild your SQL foundations
Open SQL hub ↗Make your JOINs make sense
Understand matching rows, unmatched records, and the questions each join can answer.
Read guideRank, compare, and calculate across rows
Practise rankings, running totals, and comparisons without collapsing your dataset.
Read guideGive your SQL practice a structure
Work through a suggested sequence of fundamentals, joins, and analytical queries.
Read guideWork confidently with data
Open Python hub ↗Pandas methods worth practising
Explore filtering, grouping, reshaping, and other tools for everyday data work.
Read guideThink through an A/B test
Connect hypotheses, metrics, and statistical results to a decision you can explain.
Read guideBuild a dashboard with a purpose
Use project ideas to practise turning business questions into useful reports.
Read guidePrepare for the work—and the interview
View learning path ↗What does a data analyst actually do?
Explore the tasks, tools, and communication involved in analytical work.
Read guideSQL or Python: where should you start?
Choose a starting point that fits the responsibilities of your target roles.
Read guideCompare offers beyond the headline
Separate fixed pay, variable pay, and one-time bonuses with a worked example.
Read guideNew SQL example: Does SQLite LAG respect a ROWS frame? Test previous values, daily gaps and an explicit date rule.
GTA 6 analytics: Does a Google Trends score of 100 mean more players? Learn to interpret relative search interest with a tested synthetic example.
GTA 6 analytics series: Compare equal launch windows with Python — tested synthetic events across US, UK and European time zones.
New Python guide: Why pandas GroupBy hides unused categories — compare categorical coverage and source completeness with a tested USD example.
New SQL guide: Why SQL EXCEPT can miss duplicate rows in a reconciliation — a tested USD example comparing row frequencies.
New: AI tools and analytics measurement
Two practical guides published 17 September 2026.
- MCP for Data Analysts: How dbt Connects AI to Trusted Metrics
Understand the connection, metric definitions and checks behind an AI answer.
- How to Track AI Referral Traffic in GA4
Build a tested source classification and distinguish visits from AI visibility.
New US analytics exercise
Calculate daily active users across US time zones
Run a Python example covering midnight, repeat users and a 25-hour daylight-saving day. Published September 18, 2026.
New product analytics exercise
Day-7 retention in SQL: count eligible users correctly
Run a tested cohort query and catch duplicate events, missing returns and incomplete observation windows. Published September 18, 2026.
New marketing analytics case
Why conversion can fall while every channel improves
Run a SQL traffic-mix example and distinguish percentage points, weighted rates and causal claims. Published September 22, 2026.
New SQL reconciliation exercise
Reconcile orders and payments in SQL
Find missing payments, split payments and unmatched order references with a runnable dataset. Published September 22, 2026.