Create a new RDD of int containing elements from start to end (exclusive), increased by step every element. code example
Example: Create a new RDD of int containing elements from start to end (exclusive), increased by step every element.
>>> sc.range(5).collect()
[0, 1, 2, 3, 4]
>>> sc.range(2, 4).collect()
[2, 3]
>>> sc.range(1, 7, 2).collect()
[1, 3, 5]