Limit
Keep the first n rows after an offset.
Keeps n rows starting at offset. On an unsorted frame the rows kept are not guaranteed to be the same ones twice, so this usually wants a Sort in front of it.
At a glance
Module type
Limit
Category
Primitives · Dataframe
Default tier
reactive
Runs on
reactive, durable
Starts a flow
no
Holds a body
no
Keeps state between runs
no
Available in
every application type
Parameters
n
number · required · defaults to 100
How many rows to keep.
offset
number · required · defaults to 0
How many to skip first.
Inputs
Port
Kind
Required
Description
on
event
no
Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs.
data
dataframe
yes
The frame to work on.
Outputs
Port
Kind
Connects to
Description
output
dataframe
dataframe, signal
At most n rows.
Last updated

