title: How is mapPartition different from map?
body: <p>I am aware of what a mapPartition transformation and map are. Some post claim mapPartition to be faster than map. In what scenarios do we use mapPartition instead of map? Is mapPartition really fast compared to map?</p>