Learn

Platform

For Business

Pricing

Resources

/

#11

Booking Breakdown

Booking Breakdown

Your Objective

Your Objective

Your dataset contains ~40,000 reservations for a 200-room resort hotel in Portugal, including the booking date, check-in & check-out dates, and a cancellation flag.

Your task is to calculate the resort's occupancy rate for each month in the dataset.

  • Occupancy rate = booked room-nights ÷ available room-nights

  • A guest occupies a room every night from their check-in date up to (but not including) their check-out date

  • Canceled reservations should not count toward occupancy

See sample logic below:

Submit your solution

What was the resort's occupancy rate in July 2016? (digits only, rounded down to the nearest percentage point))

Watch the solution video & tutorial

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team's data & AI skills and follow personalized learning plans to close the gaps.

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team's data & AI skills and follow personalized learning plans to close the gaps.

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team's data & AI skills and follow personalized learning plans to close the gaps.