# 3️⃣ Aggregate Bookings by Price & Features# Group data → each row will represent (adr, segment, hotel, etc.) → number of bookings# You can also do this as a time series → here simple aggregate per combination:agg_df = df_model.groupby(['adr', 'market_segment_encoded', 'hotel_encoded', 'day_of_week', 'month']) \ .size().reset_index(name='bookings')agg_df.head()