But for unioning a bunch of spark dataframes together i think
df = reduce(DataFrame.union, list_of_dfs)
df, *rest = list_of_dfs for other in rest: df = df.union(other)
But for unioning a bunch of spark dataframes together i think
is much nicer than People just get a bit funny, especially now you have to import it from functools