Wicked Smart Data
LearnInsightsAboutContact
Sign InLet's Build
LearnInsightsAboutContact
Sign InLet's Build
Wicked Smart Data

Intelligence, automation, and expert execution — plus an elite library of free knowledge. We turn complexity into competitive advantage.

Start a conversation

Platform

  • Learning Paths
  • Insights
  • RSS Feed

Company

  • About
  • Contact
  • Work With Us

Legal

  • Privacy Policy
  • Terms of Service

© 2026 Wicked Smart Data. All rights reserved.

Intelligence · Automation · Advantage

The Library · Insights

Deep dives across data, automation & AI

53 in-depth articles — from Excel foundations to production machine learning. Filter by topic or difficulty to find exactly what you need.

Forecasting Seasonal Trends in pandas: Decomposing Time Series into Trend, Seasonality, and Residuals for Business Reporting
PythonExpert

Forecasting Seasonal Trends in pandas: Decomposing Time Series into Trend, Seasonality, and Residuals for Business Reporting

Learn how to decompose business time series into trend, seasonal, and residual components using pandas and statsmodels. Go from raw monthly data to formatted seasonal forecasts and stakeholder-ready Excel reports.

25 min read
Combining String, Date, and Numeric Transformations in a pandas Data Cleaning Pipeline: Standardizing Real-World Columns Before Analysis
PythonPractitioner

Combining String, Date, and Numeric Transformations in a pandas Data Cleaning Pipeline: Standardizing Real-World Columns Before Analysis

Real exports are never clean — dates in four formats, currency fields as strings, category columns with a dozen spellings of the same value. This lesson builds a complete, production-grade cleaning pipeline that handles all three mess types together, with validation built in.

18 min read
Cohort Analysis in pandas: Calculating Retention, Churn, and Lifetime Value from Transaction Data
PythonPractitioner

Cohort Analysis in pandas: Calculating Retention, Churn, and Lifetime Value from Transaction Data

Learn how to turn a raw transaction log into a complete cohort analysis in pandas — including a retention matrix, period-over-period churn rates, and cumulative customer lifetime value broken down by acquisition cohort. Covers everything from cohort assignment to a reusable production function.

20 min read
Calculating Running Totals, Subtotals, and Grand Totals in pandas for Boardroom-Ready Summary Tables
PythonFoundation

Calculating Running Totals, Subtotals, and Grand Totals in pandas for Boardroom-Ready Summary Tables

Learn how to build executive-quality summary tables in pandas — complete with running totals, group subtotals, and grand totals. This step-by-step lesson teaches you the exact patterns that turn raw data into boardroom-ready reports, using a realistic retail sales dataset you can run immediately.

14 min read
Building a Dynamic pandas Report Pipeline with Parameters, Filters, and Excel Output
PythonExpert

Building a Dynamic pandas Report Pipeline with Parameters, Filters, and Excel Output

Stop rewriting your analysis every time someone asks for a different region or date range. This expert-level lesson walks you through building a fully parameterized pandas report pipeline that filters, aggregates, and exports formatted Excel workbooks from a single, reusable codebase — with batch generation across any parameter grid.

27 min read
Flattening, Formatting, and Exporting Nested JSON APIs to pandas DataFrames: Handling json_normalize, Nested Lists, and Missing Keys
PythonPractitioner

Flattening, Formatting, and Exporting Nested JSON APIs to pandas DataFrames: Handling json_normalize, Nested Lists, and Missing Keys

Real-world APIs return deeply nested JSON that breaks naive DataFrame loading. Learn how to use json_normalize, explode, and defensive sanitization to flatten any nested structure—including lists of sub-objects and missing keys—into a clean, analysis-ready DataFrame. Includes a complete, production-ready pipeline function.

21 min read
Ranking and Window Calculations in pandas: Running Totals, Cumulative Averages, and Percent Rank with groupby and transform
PythonPractitioner

Ranking and Window Calculations in pandas: Running Totals, Cumulative Averages, and Percent Rank with groupby and transform

Learn how to compute running totals, cumulative averages, rolling windows, and within-group rankings in pandas using groupby and transform. Practical examples using realistic sales data, with full copy-paste code and a complete weekly performance report you can adapt immediately.

19 min read
Ranking and Comparing Groups in pandas: percent_rank, cumsum, and Window Functions for Running Totals and Leaderboards
PythonPractitioner

Ranking and Comparing Groups in pandas: percent_rank, cumsum, and Window Functions for Running Totals and Leaderboards

Learn how to build production-grade leaderboards, percentile tiers, and running totals in pandas using rank(), cumsum(), and rolling window functions. Covers groupby-scoped ranking, month-over-month growth, and a complete sales intelligence report you can export to Excel.

18 min read
Building a Multi-Source Reconciliation Report in pandas: Comparing Actuals vs. Targets, Flagging Variances, and Exporting a Stakeholder-Ready Excel Summary
PythonExpert

Building a Multi-Source Reconciliation Report in pandas: Comparing Actuals vs. Targets, Flagging Variances, and Exporting a Stakeholder-Ready Excel Summary

Learn how to build a production-quality reconciliation pipeline in pandas that merges actuals, targets, and adjustments from multiple sources, applies tiered variance flag logic, and exports a formatted multi-sheet Excel workbook — complete with conditional formatting, frozen panes, and an executive scorecard. This is the report your CFO actually wants.

26 min read
Building Summary Reports with pandas pivot_table and to_excel: Turning Aggregated Data into a Formatted, Multi-Sheet Workbook
PythonPractitioner

Building Summary Reports with pandas pivot_table and to_excel: Turning Aggregated Data into a Formatted, Multi-Sheet Workbook

Learn how to turn raw transaction data into a professional, multi-sheet Excel workbook using pandas pivot_table and openpyxl. This lesson covers building multiple pivot summaries, applying header styles and number formats, adding a cover sheet, and structuring the whole pipeline as a reusable script.

19 min read
Auditing and Reconciling Data Across Sources in pandas: Matching Totals, Flagging Discrepancies, and Building a Reconciliation Report
PythonExpert

Auditing and Reconciling Data Across Sources in pandas: Matching Totals, Flagging Discrepancies, and Building a Reconciliation Report

When your ERP, CRM, and finance spreadsheet all show different numbers, you need a systematic way to find out who's wrong and by how much. This expert-level lesson teaches you to build a complete data reconciliation pipeline in pandas — from normalizing heterogeneous sources, through row-level mismatch detection, to a formatted multi-sheet Excel report stakeholders can actually use.

26 min read
Comparing Periods and Calculating Month-over-Month, Year-over-Year, and Rolling Changes in pandas with shift and pct_change
PythonPractitioner

Comparing Periods and Calculating Month-over-Month, Year-over-Year, and Rolling Changes in pandas with shift and pct_change

Learn how to build production-quality period comparison analysis in pandas using shift and pct_change. This lesson covers MoM, YoY, and rolling metrics for single and multi-segment time series, with realistic business data and a reusable report function you can ship immediately.

19 min read
Previous123...5Next