Question: How to find the sales data information by using the python MapReduce programm? The file purchases.txt contains sales information for one company with many stores.

How to find the sales data information by using the python MapReduce programm?

The file purchases.txt contains sales information for one company with many stores. It has contents: [Date]\t[Time]\t[StoreLocation]\t[ProductType]\t[Amount]\t[PaymentMethod] Please use MapReduce to answer the following questions (a) (1 point) What is the total number of transactions per store location? (b) (1 point) What is the total amount sold of each ProductType? (c) (1 point) How many transactions were placed for each PaymentMethod (d) (1 point) Provide a sales breakdown by product category across all of the stores (e) (2 points) What is the total amount sold at each store location by payment method? (f) (2 points) What is the maximum amount paid at each separate store location? (g) (2 points) What is the total amount sold?ype or paste question here

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!