You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Python] Accept keywords in ChunkedArray.to_numpy() for compatibility with Array.to_numpy() #34787
Currently, if you have "a" pyarrow array object that can be either array or chunked array, and you call to_numpy with something that cannot be zero copy, you need to do:
because the chunked array version doesn't accept the keyword. To make this easier, I think we should just accept that keyword in ChunkedArray.to_numpy() as well (and only accept False as a possible value)
Component(s)
Python
Reacted by Tim Sweña (Swast), Alenka Frim and Sergey Mozharov
Activity
GH-34787: [Python] Accept zero_copy_only=False for ChunkedArray.to_nu…