Allow using .map_elements(fn_which_returns_a_2_tuple, return_dtype=pl.Struct(...))
#20352
Labels
enhancement
New feature or an improvement of an existing feature
Request: Allow using
.map_elements(fn_which_returns_a_2_tuple, return_dtype=pl.Struct({'field0': pl.String, 'field1': pl.String}))
Description
It would be neat if the following worked!
Currently, it errors like:
The text was updated successfully, but these errors were encountered: