#Aggregations
Tags: 3 posts
November 29, 2025
•
7 min read
Advanced pandas GroupBy and Window Functions
Advanced pandas GroupBy and Window Functions Dataset Setup All examples use a retail sales dataset with transactions across stores, regions, and product categories.
import pandas as pd import numpy as np np.random.seed(42) dates = …
November 28, 2025
•
6 min read
pandas groupby() — A Practical Guide
pandas groupby() — A Practical Guide What is groupby()? groupby() splits a DataFrame into buckets based on one or more column values, lets you run a function on each bucket independently, then stitches all the results back together into one …
November 25, 2025
•
8 min read
SQL Basics & Query Patterns
SQL Basics & Query Patterns Master the fundamentals of SQL with practical examples and essential patterns for data retrieval, filtering, and manipulation. This guide covers core concepts that form the foundation of database operations. …