3
Given a list of tuples of the form, (a, b, c), is there a more direct or optimized for calculating the average of all the c's with PySpark? Below is what I have tended to do in the past, but I feel like there is a more direct/optimized approach?
ds = sc.parallelize([(1,2,3), (4,5,6), (7,8,9)]
to...