nodejs-polars
    Preparing search index...

    Function readAvro

    • Read into a DataFrame from an avro file.

      Parameters

      • pathOrBody: string | Buffer<ArrayBufferLike>

        Path to a file, list of files, or a file like object. If the path is a directory, that directory will be used as partition aware scan.

      • Optionaloptions: Partial<ReadAvroOptions>
        • columns

          Columns to select. Accepts a list of column names.

        • projection

          Indices of columns to select. Note that column indices start at zero.

        • nRows

          Stop reading from avro file after reading nRows.

      Returns pl.DataFrame