pyarrow.schema

pyarrow.schema(fields, dict metadata=None)

Construct pyarrow.Schema from collection of fields

Parameters:
  • field (list or iterable) –
  • metadata (dict, default None) – Keys and values must be coercible to bytes
Returns:

schema (pyarrow.Schema)