[
https://issues.apache.org/jira/browse/ARROW-17131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-17131.
------------------------------
Fix Version/s: 10.0.0
Resolution: Fixed
Issue resolved by pull request 13652
[https://github.com/apache/arrow/pull/13652]
> [Python] add a field() method to StructType that returns the user a field
> -------------------------------------------------------------------------
>
> Key: ARROW-17131
> URL: https://issues.apache.org/jira/browse/ARROW-17131
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Anja Boskovic
> Assignee: Anja Boskovic
> Priority: Minor
> Labels: pull-request-available
> Fix For: 10.0.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Joris suggested here "we could also add a {{field()}} method that returns you
> a field? (that is more discoverable than {{{}[]{}}}, and would be consistent
> with a Schema and with StructArray (to get the child array for that field)".
>
> Completion of this issue would also mean updating the example in the API docs
> for StructType to mention `.field()`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)