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:

LiteFrame

See also

LiteFrame.struct.dtypes

Return the dtype of each child field.

LiteFrame.struct.explode

Expand all child fields into columns.