rickspencer3 commented on issue #862:
URL: 
https://github.com/apache/datafusion-python/issues/862#issuecomment-2336472790

   > Oh, I just realized that might not work since `functions.when` was 
recently exposed. You would need to do something like `F.case(col("count") != 
lit(0)).when(lit(True), col("count")).end()` instead
   
   Thank you so much for the help. Much appreciated. Please let me know if 
there is anything that I can do to help. It sounds like, if all else fails, 
there is a workaround coming with ```pa.table(df)```. 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to