I have a dataframe that I want to pivot, and I want to pivot all rows, not just max, min or first:
df = spark.createDataFrame( [ (\'sequence\', \'