shuffle

For filters.

Shuffle rows randomly.

Command Type

built-in

Signature

> shuffle {flags}

Input/output types:

input output
list<any> list<any>

Examples

Shuffle rows randomly (execute it several times and see the difference).

> [[version patch]; ['1.0.0' false] ['3.0.1' true] ['2.0.0' false]] | shuffle

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.