Mathew kariuki·1d agoCustomer Lifetime Value in Python: Predict It, Then Check It Against Real SpendHi, I’m Mathew. “How much is each customer worth?” is one of the most common questions a marketing or finance team will ask an analyst…
Mathew kariuki·5d agoSentiment Analysis in Python with VADER: Score, Classify and Test Real PostsHi, I’m Mathew. A marketing team looks at a feed of social posts and asks two simple questions: how positive or negative is this…
Mathew kariuki·Nov 10Sales Forecasting in Python: Exponential Smoothing vs Naive and Moving AveragesHi, I’m Mathew. A retailer wants to know how much revenue to expect over the coming weeks, and, just as important, how far that number can…A response icon1A response icon1
Mathew kariuki·Nov 6Customer Churn Analysis in Python: Find Who Leaves and What It CostsHi, I’m Mathew. Every subscription business asks the same two questions: which customers are most likely to leave, and how much money walks…A response icon1A response icon1
Mathew kariuki·Nov 3SQL Joins and Aggregations in Python: INNER JOIN, LEFT JOIN, GROUP BY and HAVINGHi, I’m Mathew. Real business questions almost never live in one table. “Which product categories bring in the most revenue?” needs order…
Mathew kariuki·Oct 30Market Basket Analysis in Python: Support, Confidence and Lift from ScratchHi, I’m Mathew. A retailer asks a simple question: which products should we bundle, place side by side, or recommend at checkout? Market…
Mathew kariuki·Oct 27pandas merge, join and concat: Combine and Reshape Real Tables in PythonHi, I’m Mathew. Real data almost never arrives as one tidy spreadsheet. The question “how much did customers in each state spend, and how…
Mathew kariuki·Oct 27Cohort Analysis in Python: Build a Customer Retention Heatmap with pandasHi, I’m Mathew. Once someone buys from you for the first time, how likely are they to come back next month, and is the business getting…
Mathew kariuki·Oct 22Data Cleaning in pandas: Missing Values, Duplicates and Data TypesHi, I’m Mathew. Before you can answer “how much did we sell?” or “who are our best customers?”, you have to trust the rows you’re counting…
Mathew kariuki·Oct 20How to Analyze an A/B Test in Python (Chi-Square, Effect Size, CI)Hi, I’m Mathew. Most A/B test tutorials end with “variant B won!”. Real life is messier, and the most useful skill is knowing when the data…