I want to iterate through each row of an RDD using .map() and I want to use a dataframe inside the map function as follows:
.map()