akifcakir opened a new issue #7955:
URL: https://github.com/apache/arrow/issues/7955


   Hi all , I am trying to scale the my computation with koalas (instead of 
pandas). I have a class and I try to apply one of the function from the class 
on a dataframe two columns. With pandas df it works as expected, but when I do 
with koalas df, it throws the error
   ```Could not convert <__main__.XYZ object at 0x7f7746dfbef0> with type XYZ: 
did not recognize Python value type when inferring an Arrow data type```
   I share the notebook which has class definition and computation with both of 
way. Error is in cell (13). Do you have any idea which are has a bug (koalas or 
arrow) ?
   
   
   
[class_apply.py.zip](https://github.com/apache/arrow/files/5069791/class_apply.py.zip)
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to