I tried googling, but couldn't find an answer.
Taken from Apache Spark: map vs mapPartitions?
What's the difference between an RDD's map and mapPartitions
map works the function being utilized at a per element level while mapPartitions exercises the function at the partition level.
In this context, what is element level? Is it just an individual row?
