Pyspark - explode the nested data Apr 21, 2022 Pyspark can explode the nested structure in object 1 2 3 4 import pyspark.sql.functions as fn df = df_raw \ .select('date', 'value', fn.explode(df_raw.groups).alias('group'))