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

[Python] numpy.asarray should trigger to_pandas on Array/ChunkedArray

    Details

      Description

      Calling numpy.asarray on an instance of Array/ChunkedArray/Column should call the to_pandas method of these classes. Currently it falls back to using the iterator interface, thus we will always get an object array of pa.lib.ScalarValue.

      To implement this, one has to implement the _array_ method on all of them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xhochy Uwe L. Korn
              • 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 - 1h 20m
                  1h 20m