Select the correct output of the following Spark program X…
Select the correct output of the following Spark program X = sc.parallelize([(‘tom’,(1,2)),(‘peter’,(2,3)),(‘tom’,(2,0))]) X.mapValues(lambda (a,b): a+b).reduceByKey(lambda (a,b): a*b).collect()
Read Details