dfr fetch for lazyframe

Collects the lazyframe to the selected rows.

WARNING

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

Signature

> dfr fetch {flags} (rows)

Parameters

  • rows: number of rows to be fetched from lazyframe

Input/output types:

inputoutput
anyany

Examples

Fetch a rows from the dataframe

> [[a b]; [6 2] [4 2] [2 2]] | dfr into-df | dfr fetch 2
╭───┬───┬───╮
 # │ a │ b │
├───┼───┼───┤
 0 6 2
 1 4 2
╰───┴───┴───╯