ibis.expr.api.StructValue.destructure¶
-
StructValue.
destructure
() → ibis.expr.types.DestructValue¶ Destructure a
StructValue
into a correspondingDestructValue
.Each subclass of
StructValue
will be destructed accordingly. For example, aStructColumn
will be destructed into aDestructColumn
.When assigned, a destruct column will destructured and assigned to multiple columns.
- Parameters
expr (StructColumn) – The struct column to destructure.
- Returns
destruct_expr – A destruct value expression.
- Return type
ibis.expr.types.DestructValue