Extract children of a struct or union by index.
Given a list of indices (passed via StructFieldOptions), extract the child array or scalar with the given child index, recursively.
For union inputs, nulls are emitted for union values that reference a different child than specified. Also, the indices are always in physical order, not logical type codes - for example, the first child is always index 0.
An empty list of indices returns the argument unchanged.
Argument to compute function.
List
[str
], List
[bytes
], List
[int
], Expression
, bytes
, str
, or int
List of indices for chained field lookup, for example [4, 1] will look up the second nested field in the fifth outer field.
pyarrow.compute.StructFieldOptions
, optional
Alternative way of passing options.
pyarrow.MemoryPool
, optional
If not passed, will allocate memory from the default memory pool.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4