get nth element in the rdd

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

get nth element in the rdd

firemonk9
This post has NOT been accepted by the mailing list yet.
I need to find the lower and upped quartiles or get nth element in the RDD. Only thing I have found so far is take(n) and call first() but take returns Array(not acceptable). 

Thank you