Find Unique Elements in a RDD Spark.
Hello,
I have a Data set:
Find unique elements in the Column’Animal’
Animal Count
Dog . 1
Cat . 3
Dog . 4
Cow . 5
I want the result to be a new RDD
Animal
Dog
Cat
Cow
Please implement this in Pyspark (Apache Spark using RDD and notDataFrame)
Also please let me know how to select a particular column froman RDD.
Expert Answer
An answer will be send to you shortly. . . . .