Hey guys, I have some questions about the way stru...
# daft-dev
c
Hey guys, I have some questions about the way structs behave: I like how we can concisely pack items into a dictionary with to_struct, which allows me to use getitem and later unpack the columns in bulk, in a way that is easier than using python dictionaries. Is there a way to convert back and forth between structs and python dictionaries, or otherwise iterate through a struct row-by-row in the style of a UDF? I can link some example usage in the thread if necessary. Thanks!
j
Yes some examples of what you’re thinking of could be helpful!
c
@Cora Meador hey cora! just following up here, feel free to share any examples for us to provide further insights 😊