XMLWordPrintableJSON

Details

    Description

      It's not at all obvious how to get a particular field from a StructType from it's API page:

      https://arrow.apache.org/docs/python/generated/pyarrow.StructType.html#pyarrow.StructType

      We should add an example:

      struct_type = pa.struct({"x": pa.int32(), "y": pa.string()})
      struct_type[0]
      # pyarrow.Field<x: int32>
      pa.schema(list(struct_type))
      # x: int32
      # y: string
      

      Attachments

        Issue Links

          Activity

            People

              anjakefala Anja Boskovic
              wjones127 Will Jones
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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