I\'m trying to figure out the best way to get the largest value in a Spark dataframe column.
Consider the following example:
df = spark.createDataFra
in pyspark you can do this:
max(df.select('ColumnName').rdd.flatMap(lambda x: x).collect())