Probably missing this in docs, how can I create a ...
# general
g
Probably missing this in docs, how can I create a struct/nested object from columns? use a UDF?
✅ 1
c
you can use the
to_struct
function.
Untitled
g
daft party
r
Just an FYI the
<http://daft.to|daft.to>_struct(*cols)
method will be deprecated at some point, and you can just use
daft.struct(*cols)
👍 1