1a
Find the elements of list_A that are not in list_B, with one transformation on the RDDs. Print the result as a sorted list.
Hint 1
The slide Set Transformation Functions lists the transformations that work on two RDDs.
Check your output
[1, 2, 3]Show solutionHide solution
print(sorted(rdd_A.subtract(rdd_B).collect()))