Most profitable cash registers


Suppose you're working with a grocery store who recently installed 6 self checkout registers. As part of your work, you've collected the following data, which shows information on register usage and profit. Below are some clarifications on the data:

  • Each # in the dataset corresponds to a register # (1-6) and each row represents an individual usage of the register
  • The 'profit' field represents the profit the store made from the customer checking out at the associated register (you can assume the profit is random in the data).

Using all of this information, write code to visualize the Probability Mass Function (PMF) of your customers' register usage. Your resultant chart should show each spot # (1-12) along with the probability of that spot being chosen based on your dataset. Additionally, calculate the register with the highest total profit and the highest profit per use.


Access restricted

Subscribe to premium account to see the solution.

Get premium now