Data Handling in Pure Python
A lightweight execution-visualization book.
Lists and Records
Sum and Mean
Min and Max Scan
Count Matching
Slice Select
Filtering and Transforming
Filter by Threshold
Map Transform
Add Derived Field
Running Total
Sorting and Ranking
Sort by Key
Sort Two Keys
Top-K Select
Rank Assign
Grouping
Group Count
Group Sum
Group Mean
Group Min-Max
Dictionaries as Tables
Dict Lookup Table
Frequency Count
Invert Mapping
Merge Two Dicts
Joining Records
Inner Join by Key
Left Join with Missing
Lookup Enrich
CSV and Text
Parse CSV Rows
CSV to Dicts
Normalize Text Fields
Count Token Frequencies
Reshaping by Hand
Zip Columns to Rows
Pivot Long to Wide
Flatten Nested