Data analysis blog
Short, practical answers to questions analysts ask every day, with SQL, Python, and BI examples.
A Practical Data Quality Checklist Before Analysis
A practical data quality checklist: grain, duplicate keys, missing critical values, ranges, dates, referential integrity, and reconciliation, with SQL examples.
Read: What should you check before analyzing a dataset?How to Find and Handle Duplicate Rows in a Dataset
Find exact duplicate rows and duplicate business keys in SQL and pandas, decide which record to keep, and deduplicate without losing data.
Read: How do you find and remove duplicate rows in a dataset?How to Handle Missing Values Without Losing Information
Handle missing values by context, not fixed thresholds: profile missingness, understand MCAR/MAR/MNAR, and choose between retaining nulls, flags, buckets, and imputation.
Read: How should you handle missing values in a dataset?How to Use CTEs and Window Functions in Analytical SQL
Get the top N rows per group with ROW_NUMBER, RANK, or DENSE_RANK in a CTE. Includes Oracle examples, tie handling, and safe date ranges.
Read: How do you get the top N rows per group in SQL?Feature Engineering: How to Prevent Target Leakage
Target leakage makes models look accurate in testing and fail in production. Learn the common sources and how to prevent them with cutoff dates and proper splits.
Read: What is target leakage in feature engineering and how do you prevent it?Preparing Power BI and Tableau Reports: Data Checks Before Visualization
Before building a dashboard, define KPIs, confirm grain and relationships, prevent double counting, and reconcile totals. Includes DAX and Tableau examples.
Read: What should you check before building a Power BI or Tableau dashboard?What Are AI Agent Skills and How Can They Help Data Analysts?
AI agent skills are reusable instruction packages that guide an AI coding agent through tasks like data quality checks, cleaning, SQL, and BI reporting. Here's how they work.
Read: What are AI agent skills for data analysis?