Pyspark Array Append, array_agg(col) [source] # Aggregate function: returns a list of objects with duplicates.