W3cubDocs

/Nushell

dfr to-avro for dataframe

Saves dataframe to avro file.

Signature

> dfr to-avro {flags} (file)

Flags

  • --compression, -c {string}: use compression, supports deflate or snappy

Parameters

  • file: file path to save dataframe

Input/output types:

input output
any any

Examples

Saves dataframe to avro file

> [[ab]; [12] [34]] |dfr into-df|dfr to-avrotest.avro

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_to-avro.html