rohanjain101 opened a new issue, #39386:
URL: https://github.com/apache/arrow/issues/39386

   ### Describe the enhancement requested
   
   Python and numpy support floor division, which for integral types, round 
towards infinity (pa.compute.divide for integral types rounds towards 0). If 
one of the types if floating point, then  floordiv is equivalent to 
pa.compute.floor(pa.compute.divide), however, if both types are integral, 
floordiv should round towards infinity instead of 0. To do this currently, 
requires a combination of multiple compute calls, such as in 
https://github.com/pandas-dev/pandas/pull/56677. Since python and numpy support 
this, would be useful to have this logic in an arrow compute kernel.
   
   ### Component(s)
   
   C++, Python


-- 
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]

Reply via email to