Skip to content Skip to sidebar Skip to footer
Showing posts with the label Cartesian

Spark Unique Pair In Cartesian Product

I have this: In [1]:a = sc.parallelize([a,b,c]) In [2]:a.cartesian(a).collect() Out[3]: [(a, a), (a… Read more Spark Unique Pair In Cartesian Product