pyarrow.field#

pyarrow.field(name, type, bool nullable=True, metadata=None)#

Create a pyarrow.Field instance.

Parameters
namestr or bytes

Name of the field.

typepyarrow.DataType

Arrow datatype of the field.

nullablebool, default True

Whether the field’s values are nullable.

metadatadict, default None

Optional field metadata, the keys and values must be coercible to bytes.

Returns
fieldpyarrow.Field