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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!