Data Processing — CSV Pipeline¶
This example walks through a complete data-processing workflow: reading a CSV file, splitting it into a matrix, extracting columns, and computing summaries.
The task¶
Given a CSV file of sales data, compute the total and average per product.
Reading the file¶
Extracting columns¶
Computing summaries¶
Key techniques used¶
- File I/O with the standard library
v2mfor splitting delimited text into a matrix- From + Rank for column extraction
- Reduce for aggregation