maxframe.liteframe.LiteFrame.struct.field#
- LiteFrame.struct.field(*args, **kwargs)#
Extract a child field of each struct as a column.
- Parameters:
name_or_index (str | bytes | int | expression | list) – Name or index of the child field to extract. For list-like inputs, indexes into a nested struct.
- Returns:
Single-column LiteFrame with the selected field’s dtype. The output column is named after the selected field.
- Return type:
See also
LiteFrame.struct.dtypesReturn the dtype of each child field.
LiteFrame.struct.explodeExpand all child fields into columns.