Add a cumulative numeric total
Append a running decimal total in the current record order.
Clean, reshape, and understand tabular data. Each guide includes full code, usage instructions, and ideas for making it your own.
Search this category ↗Append a running decimal total in the current record order.
Enrich every input row with columns from a uniquely keyed lookup CSV.
Combine several CSV files under one shared header.
Divide records into numbered CSV batches, each with its own header.
Describe added, removed, and changed keyed CSV records.
Convert one consistently formatted date column to YYYY-MM-DD.
Export a CSV as a JSON array with one object per data row.
Read tab-delimited records and write correctly quoted comma-delimited CSV.
Convert selected measurement columns into measure/value records.
Turn two categorical columns into a table of occurrence counts.
Create a frequency table for every exact value in one column.
Fill genuinely empty cells in one column without changing existing values.
Copy only rows whose chosen field exactly matches a value.
List data-record numbers and required fields that are empty or whitespace-only.
Create a CSV containing only the chosen columns, in your chosen order.
Replace every value in selected columns with a fixed mask.
Keep the first row for each distinct combination of key values.
Convert locale-style numeric strings into plain decimal strings.
Standardize one exact value in a selected CSV column.
Write rows sorted by one selected column.
Create one numbered CSV for each distinct field value plus an index.
Produce one exact decimal total for each group.
Select a repeatable random subset while preserving source order.
Turn input columns into rows and input records into numbered columns.
Remove leading and trailing whitespace from selected cell values.