AddIndexColumn / Manipulation Layer
Create a new column containing row position numbers (0-based indexing). Similar to pandas' reset_index() or R's row_number().
Key features:
- Sequential integer assignment
- Zero-based numbering
- Preserves existing data
Common applications:
- Row identification
- Position tracking
- Order preservation
- Cross-reference creation
- Before/after analysis
Example: A dataset with 5 rows will get indices [0,1,2,3,4], useful for tracking original row positions after sorting or filtering operations.
Table
0
0
Table
AsColumn
nameName for the new column. If not provided, the system generates a unique name. If AsColumn
matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.