You’ll need to “unpack” the array using an asterisk in python like so:

df = df.groupBy(groupBy_cols).sum(*agged_cols_list)



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to