You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2025/06/10 16:21:27 UTC

Re: [I] [Python] If numpy is available use it for normalizing slice [arrow]

pitrou commented on issue #46771:
URL: https://github.com/apache/arrow/issues/46771#issuecomment-2959908065

   > We should probably use `np.arange` if numpy is available otherwise revert to using a Python object.
   
   Or, instead of exhibiting wildly different performance based on Numpy availability, perhaps we can implement a `pa.arange` function? It should relatively easy to do so in C++ (we can limit the output types to integer types for now).


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org