- ak.from_avro_file(file, limit_entries=None, *, debug_forth=False, highlevel=True, behavior=None)#
file (path-like or file-like object) – Avro file to be read as Awkward Array.
limit_entries (int) – The number of rows of the Avro file to be read into the Awkward Array.
debug_forth (bool) – If True, prints the generated Forth code for debugging.
Reads Avro files as Awkward Arrays.
Internally this function uses AwkwardForth DSL. The function recursively parses the Avro schema, generates Awkward form and Forth code for that specific Avro file and then reads it.