Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 854 Bytes

File metadata and controls

24 lines (21 loc) · 854 Bytes

Enumerate - Add a new column enumerating the lines of a CSV file

sample file
┌─────┬────────┐
│ idx │ name   │
├─────┼────────┤
│  1  │ tom    │
│  2  │ jerry  │
│  3  | hansen |
└─────┴────────┘

enumerate result

┌───────────────┬──────┬────────┐
│ enumerate_idx │ idx  │ name   │
├───────────────┼──────┼────────┤
│       1       │  1   │ tom    │
│       2       │  2   │ jerry  │
│       3       |  3   | hansen │
└───────────────┴──────┴────────┘