CSV Sample / Slice

Single file

Extract a head, tail, range, or random sample of rows

Inputs
dataset
Outputs
dataset

Overview

Takes a subset of rows: the first N (head), last N (tail), a row range, every Nth row, or a random percentage.

Fields

FieldDescription
Input variablerequiredWhich variable to use as the upstream dataset to read.
Moderequiredhead, tail, range, every-nth, or random.
AmountRow count, range bounds, step, or percent — depending on the mode.
Output variable namerequiredName this node's result so downstream nodes can select it. Auto-suggested; edit freely.

Try it

Open the node's real configuration, run it on the sample below, and see the result. Nothing is saved.

Sample input · data

nameagecity
Alice34Tunis
Bob28Sfax
Cara41Tunis
Dan23Sousse
Eve37Sfax

This is a live preview — the sample and results are temporary and never saved.