DropRowsAtIndices / Manipulation Layer
Remove rows at specified index positions (zero-based). Similar to pandas' drop(index=indices) or R's slice(-indices).
Common applications:
- Removing identified outliers
- Excluding specific samples
- Filtering flagged records
- Implementing cross-validation splits
- Executing selective data removal
- Creating holdout sets
- Handling known bad records
- Performing systematic sampling
Example: With indices [0, 3, 5], removes first, fourth, and sixth rows from dataset, maintaining all other rows in their original order.
Table
0
0
Table
Indices
[u64, ...]Zero-based indices of rows to remove. Common scenarios:
- Specific positions identified for removal
- Pre-calculated outlier positions
- Systematic sampling positions (every nth row)
- Quality control flagged positions
- Validation set indices Example: [0,10,20] removes first, eleventh, and twenty-first rows