return the number of elements in this rdd

Solutions on MaxInterview for return the number of elements in this rdd by the best coders in the world

showing results for - "return the number of elements in this rdd "
Lorenzo
25 Jul 2019
1sc.parallelize([2, 3, 4]).count()
2# 3
similar questions
queries leading to this page
return the number of elements in this rdd