W3cubDocs

/Nushell

dfr collect for lazyframe

Collect lazy dataframe into eager dataframe.

Signature

> dfr collect {flags}

Input/output types:

input output
any any

Examples

drop duplicates

> [[ab]; [12] [34]] |dfr into-lazy|dfr collect
╭───┬───┬───╮
# │ a │ b │
├───┼───┼───┤
012
134
╰───┴───┴───╯

Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

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