jorisvandenbossche commented on code in PR #41071:
URL: https://github.com/apache/arrow/pull/41071#discussion_r1557703716
##########
python/pyarrow/table.pxi:
##########
@@ -525,7 +525,8 @@ cdef class ChunkedArray(_PandasConvertible):
return values
- def __array__(self, dtype=None):
+ def __array__(self, dtype=None, copy=None):
+ # copy keyword can be ignored because to_numpy() already returns a copy
Review Comment:
Ah yes, that comment is from before I decided to handle the copy=False case
for Array. Indeed we should just raise an error here that a no-copy is not
possible.
Updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]