[Python] add a field() method to StructType that returns the user a field

XMLWordPrintableJSON

      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()`.

            Assignee:
            Anja Boskovic
            Reporter:
            Anja Boskovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m