RDD.
max
Find the maximum item in this RDD.
A function used to generate key for comparing
Examples
>>> rdd = sc.parallelize([1.0, 5.0, 43.0, 10.0]) >>> rdd.max() 43.0 >>> rdd.max(key=str) 5.0