Answer Posted / Krishna Kumar
first() is a transformative action that returns the first element of a Resilient Distributed Dataset (RDD). If there are no elements in the RDD, it will return None (in Python) or null (in Scala).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers