Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2286

[Python] Allow subscripting pyarrow.lib.StructValue

    XMLWordPrintableJSON

    Details

      Description

      >>> obj
      {'x': 42, 'y': True}
      >>> type(obj)
      pyarrow.lib.StructValue
      >>> obj['x']
      Traceback (most recent call last):
        File "<ipython-input-96-93ad3443b3c6>", line 1, in <module>
          obj['x']
      TypeError: 'pyarrow.lib.StructValue' object is not subscriptable
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kszucs Krisztian Szucs
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 1.5h
                  1.5h