W3cubDocs

/Nushell

shuffle for filters

Shuffle rows randomly.

Signature

> shuffle {flags}

Input/output types:

input output
list<any> list<any>

Examples

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

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

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/shuffle.html