polars to-avro for dataframe

Saves dataframe to avro file.

Signature

> polars to-avro {flags} (file)

Flags

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

Parameters

  • file: file path to save dataframe

Input/output types:

inputoutput
anyany

Examples

Saves dataframe to avro file

> [[a b]; [1 2] [3 4]] | polars into-df | polars to-avro test.avro