mesejo opened a new issue, #447: URL: https://github.com/apache/arrow-datafusion-python/issues/447
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** I would like to add to use the [case](https://docs.rs/datafusion/latest/datafusion/logical_expr/fn.case.html) conditional function from Python. **Describe the solution you'd like** Ideally, I would like it to be possible to do something like the following: ```python df = df.select( f.case(column("a")) .when(literal("Hello"), literal("Hola")) .when(literal("World"), literal("Mundo")) .otherwise(literal("!!")), ) ``` **Describe alternatives you've considered** None **Additional context** This was suggested as a possible solution by @alamb in [arrow-datafusion#7062](https://github.com/apache/arrow-datafusion/discussions/7062) discussion -- 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]
