Develop MyReduceByKey function
Develop myReduceByKey Function¶ Develop a function by name myReduceByKey which takes a collection of tuples and a function as arguments. Each element in the collection should have exactly 2 attributes. Function should do the following: Iterate through the collection of tuples. Group the data by first element in the collection of tuples and apply the …