Question: Create a Python program that uses Map-Reduce to analyze a data set. You must use map, filter, and reduce functions. Details: Use a data set
Create a Python program that uses Map-Reduce to analyze a data set. You must use map, filter, and reduce functions. Details:
Use a data set that consists of the numbers from 1 to 10.
Apply a map function to the data set that will divide the value by 2 if it is even or multiply by 3 if it is odd. Print the result after the map function is applied.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
