Cluster Revenue Analysis Feb 2026

Bali Hotel Revenue
Analysis

Checking how 3 hotels in Bali are performing using Python & Data Science.

Download Source Code

The Situation

Role: Data Analyst
Scope: 3 Hotels (Resort, City Hotel, Boutique)

I needed to check how three different hotels were doing. The goal was to see which one was doing well and which one needed help. By analyzing the booking data, we could identify opportunities to optimize revenue.

Getting the Data

I wrote a script to get booking data from the Amadeus API. This allowed me to look at over 26,000 bookings. I cleaned the data using Python to make sure all the prices and room names matched, and I also anonymized the hotel names to protect privacy.

# Reading the data
def analyze_cluster_performance():
    # Loading the file
    df = pd.read_csv("Data/hotel_data_cleaned.csv")
    
    # Selecting only Bali hotels
    bali_cluster = df[df['flg_region'] == 'Bali']
    
    # Calculating average price
    cluster_adr = bali_cluster.groupby(['month', 'property_id'])['price_cleaned'].mean()
    
    return cluster_adr

1. Comparing Prices

By looking at the average prices, we saw that Property_002 (Teal line) was charging less than the others during the busy season. This was a missed opportunity for revenue maximization.

Cluster ADR Comparison Chart Fig 1: Price comparison of the 3 Bali hotels.

2. Interactive Dashboard

I made a dashboard so the managers could easily see this information without looking at the raw data.

Tableau Dashboard Simulation Fig 2: Dashboard View

Key Finding

Property_001 has high prices, but Property_004 gets more bookings. We decided to move some group bookings to Property_004 to keep rooms open at Property_001 for guests who pay more.

3. When do guests book?

Knowing when guests book helps us decide when to change prices. The lead time distribution shows us the sweet spot for marketing campaigns.

Booking Lead Time Distribution Fig 3: How many days before arrival guests book.

4. Room Types & Revenue

Seeing which room types bring in the most money helps us know what to sell. It turns out Suites are the real money makers.

Revenue Share by Room Class Fig 4: Revenue by room type.

My Suggestions