Struct handling

Struct handling#

2025-05-05

20 min read time

Applies to Linux

Series.struct can be used to access the values of the series as Structs and apply struct methods to it. These can be accessed like Series.struct.<function/property>.

Series.struct

Struct methods for Series

field(key)

Extract children of the specified struct column in the Series

explode()

Return a DataFrame whose columns are the fields of this struct Series.