| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.compute.struct_field.html | [Back] [Original] |
Section Navigation
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 intList 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, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |