Answer Posted / Jai Kant Rangila
FlatMap in PySpark is a transformation operation that applies a user-defined function to each element of an RDD (Resilient Distributed Dataset) and then flattens the result. It's useful for breaking up complex data structures, such as lists or tuples, into individual elements.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers