jorisvandenbossche commented on PR #13687:
URL: https://github.com/apache/arrow/pull/13687#issuecomment-1240409035

   >  I think the more interesting case for UDFs is when we want to use some 
other library that does efficient compute and is capable of working with Arrow 
data. For example, numpy. Here is an example that exposes numpy's gcd function 
(greatest common divisor) as an Arrow function
   
   I think this would indeed be a more compelling example. 
   
   Another example could be a specific python functionality (eg something from 
`ipaddress`, to check or extract some information from strings that are 
supposed to be ipaddresses), although this will typically only work on scalars, 
and thus will be slow (but it's still an example how you can use this within 
arrow). Or another example could be a custom function implemented in numba. 


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