dataFrame.rows — shuffle()

Description

The shuffle() method of the rows object randomly shuffles the rows of the DataFrame.

Signature

dataFrame.rows.shuffle()
Scope
dataFrame
Family
rows
Returns
mutates

Example

// randomly shuffle the data rows of a dataFrame
dataFrame.rows.shuffle();