daft.DataType.struct
daft.DataType.struct#
- classmethod DataType.struct(fields: dict[str, daft.datatype.DataType]) daft.datatype.DataType [source]#
Create a Struct DataType: a nested type which has names mapped to child types
- Parameters
fields – Nested fields of the Struct