dataFrame.rows — limit()

Description

The limit() method of the rows object limits the DataFrame to the specified number of rows.

Signature

dataFrame.rows.limit(size)
Scope
dataFrame
Family
rows
Returns
mutates

Argument

size (number)
The maximum number of rows to keep.

Example

// limit a dataFrame to 100 data rows
dataFrame.rows.limit(100);