pandas.Series.struct.field
pandas 3.1.1 · Series and accessors · method
Extract a named or positional field from an Arrow struct column.
Call syntax
Series.struct.field(name_or_index)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
name_or_index |
Required Positional or keyword |
str | bytes | int | expression | list |
Returns
pandas.Series