pyarrow.dataset.FileFormat

class pyarrow.dataset.FileFormat

Bases: pyarrow.lib._Weakrefable

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs)

Initialize self.

inspect

Infer the schema of a file.

make_fragment

Make a FileFragment of this FileFormat.

make_write_options

Attributes

default_extname

default_extname
inspect()

Infer the schema of a file.

make_fragment()

Make a FileFragment of this FileFormat. The filter may not reference fields absent from the provided schema. If no schema is provided then one will be inferred.

make_write_options()