I have a numpy array in python which I wanted to duplicate itself, therefore I used
tile(array(x), (2, 1))
There is no equivalent:
You can repeat RDD in one dimension using:
sc.union([rdd for _ in range(n))
which is equivalent to
where n is a scalar.