NumericArithmeticProgression / New Layer
Create a new column with values in arithmetic sequence (adding a constant difference between consecutive terms). Similar to numpy.arange() or range() in Python. The sequence starts at Start
and increases by Step
for each row. Formula:
Table
0
0
Table
Start
f64First value (Start
) in the sequence. Examples:
- 0 for zero-based indexing
- 1 for one-based indexing
- Any number to offset the sequence
Step
f64Constant difference (Step
) between consecutive terms. Examples:
- 1 for consecutive integers
- 2 for even numbers (if start is even)
- -1 for descending sequence
- 0.5 for half-unit steps
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.