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

[Python] Array.to_numpy is invalid for boolean arrays

    Details

      Description

      This should raise for the time being:

      In [1]: import pyarrow as pa
      
      In [2]: arr = pa.array([True, False, True])
      
      In [3]: arr
      Out[3]: 
      <pyarrow.lib.BooleanArray object at 0x7f051c73bcc8>
      [
        True,
        False,
        True
      ]
      
      In [4]: arr.to_numpy()
      Out[4]: array([ True])
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesmckinn Wes McKinney
                Reporter:
                wesmckinn Wes McKinney
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 0.5h
                  0.5h