Data Interview Qs - Analyzing a locker storage system

InterviewQs

Analyzing a locker storage system

Data Analysis Python Pandas External Dataset Data Manipulation Data Visualization Statistics Probability Mass Function

Forward this email to a friend or colleague and challenge them to solve it.

Hi, 

Suppose you own a small storage locker facility where customers can select an open locker to store their items and are charged by the hour. You have collected the following data, which shows locker utitilization as well as profit for a month. Below are some clarifications on the data:

  • Each # in the dataset corresponds to a locker # (1-12) and the # of times it appears in a row corresponds to the frequency of how many customers rented out that locker
  • The 'locker_profit' field represents the profit you made from the customer storing their objects in that locker (you can assume the profit is random in the data and variable depending on what type of storage plan the customer chooses).

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

Our solution will be written in Python for premium users.


 

You’ve accumulated 332 questions since joining our email list. Create a premium account to access detailed solutions to each problem (including this one) + our new Case studies.


Was this email forwarded to you? You can join our list here to receive questions

How did you like today's question?

15411 Boischatel, Montreal, QC, H9H1Y7, Canada
Don't want to get these emails anymore? We'll forgive you if you unsubscribe

Older messages

Implementing an Elo Rating System

Friday, August 12, 2022

Python, Algorithms, Data Structures, Simulation, Elo Rating, InterviewQs Implementing an Elo Rating System Python Algorithms Data Structures Simulation Elo Rating Forward this email to a friend or

Central Limit Theorem

Friday, August 12, 2022

Statistics, Central Limit Theorem, Population Estimation, InterviewQs Central Limit Theorem Statistics Central Limit Theorem Population Estimation Forward this email to a friend or colleague and

University acceptance rates by college and program

Monday, August 8, 2022

SQL, Database Querying, Aggregation Functions, InterviewQs University acceptance rates by college and program SQL Database Querying Aggregation Functions Forward this email to a friend or colleague and

Correlation between IMBD and Rotten Tomatoes ratings

Friday, August 5, 2022

Python, Data structures, Correlation Analysis, InterviewQs Correlation between IMBD and Rotten Tomatoes ratings Python Data structures Correlation Analysis Forward this email to a friend or colleague

Package colors

Wednesday, August 3, 2022

Python, Algorithms, Data Structures, Arrays, InterviewQs Package colors Python Algorithms Data Structures Arrays Forward this email to a friend or colleague and challenge them to solve it. Hi, Suppose

You Might Also Like

PHPWeekly March 28th 2024

Thursday, March 28, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 28th March 2024 Hi everyone, The long weekend is coming up, and if

Hulu officially joins Disney+

Thursday, March 28, 2024

The Morning After It's Thursday, March 28, 2024. A month after taking full ownership of Hulu last November, Disney started beta testing integration with Disney+. Today, Hulu on Disney+ is

Post from Syncfusion Blogs on 03/28/2024

Thursday, March 28, 2024

New blogs from Syncfusion Chart of the Week: Creating a .NET MAUI Column Chart to Visualize the Corporate Investment in AI By Saiyath Ali Fathima M Let's visualize the data on corporates'

New ZenHammer Attack Bypasses Rowhammer Defenses on AMD CPUs

Thursday, March 28, 2024

THN Daily Updates Newsletter cover Webinar: From Blind Spots to Bulletproof: Secure Your Apps with Shared Responsibility From oversight to overwatch: Discover the art of bulletproof app security with

Top Tech 🏆 Synology BeeStation NAS Review — Testing Anker's EverFrost Dual-Zone Powered Cooler

Thursday, March 28, 2024

Also: We Review the Arlo Essential Indoor Cam 2nd Gen, and More! How-To Geek Logo March 28, 2024 📩 Get the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Last Chance

Thursday, March 28, 2024

Hello there, I wanted to follow up on our last email to let you know that our introductory iPhone Life Insider offer will expire tomorrow! Currently, a subscription to iPhone Life Insider costs $9.99/

Edge 381: Google DeepMind's PrompBreeder Self-Improves Prompts

Thursday, March 28, 2024

The method combines chain of thoughts, plan and solve and evolutionary algorithms in a single mthod. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Anthropic beats GPT-4 🤖, Pixel 9 leaks 📱, the fight for AI talent 👨‍💻

Thursday, March 28, 2024

Anthropic's Claude 3 Opus has surpassed OpenAI's GPT-4 for the first time on Chatbot Arena Sign Up|Advertise|View Online TLDR Together With Dollar Flight Club TLDR 2024-03-28 Exclusive offer:

From Request to Response: How APIs Work – Beginners Guide

Thursday, March 28, 2024

In the vast expanse of the digital ecosystem, APIs (Application Programming Interfaces) act as critical conduits, facilitating seamless conversations between different software platforms. From clicking

Elastic 8.13 is here: Amazon Bedrock in the AI Assistant for Observability

Thursday, March 28, 2024

Learn about Amazon Bedrock support within the Elastic AI Assistant for Observability ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ elastic | Search. Observe. Protect