数据分析7_酒店预定分析_kaggle入门

本文通过对kaggle上的酒店预订数据进行分析,探讨了酒店运营的多个关键指标,如预定入住率、取消率、渠道质量、用户画像等。数据清洗后发现3.4%的单元格缺失,部分列存在离群值。分析发现6-8月是酒店客流量高峰期,9号旅行社可能为行业龙头,大部分订单选择城市酒店。酒店预定入住率为62.92%,取消率为37.08%。建议酒店关注老用户留存,优化预订流程,并针对不同用户群体推出定制化服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

数据来源:kaggle
本文源码及数据链接:百度云提取码:2vng

本文通过Python进行数据清洗,正文中使用Tableau作图进行展示。

在这里插入图片描述
在这里插入图片描述

项目背景

你有没有想过一年中预订酒店房间的最佳时间是什么时候?或者为了获得最佳的每日费用而选择的最佳停留时间?如果你想预测一家酒店是否有可能收到过高数量的特别要求呢?
这个酒店预订数据集可以帮助您探索这些问题!
该数据集包含城市酒店和度假酒店的预订信息,包括预订时间、入住时间、成人、儿童和/或婴儿数量以及可用停车位数量等信息。
数据来源于Nuno Antonio、Ana Almeida和Luis Nunes撰写的文章《酒店预订需求数据集》(Hotel Booking Demand Datasets),简明扼要,第22卷,2019年2月。
这些数据是由托马斯·莫克和安托万·比查特在2020年2月11日这一周的第三天下载和清理的。

确认目标

分析角度:

  1. 酒店运营角度
    1. 预定入住率、预定取消率、复订率、客户结构、预定房型、预定均价
    2. 押金、分房、客流量趋势
    3. 渠道质量、订单占比
  2. 用户画像
    1. 提前预定时长、预定入住月份、入住人数、出行结构、入住时长、复订间隔、餐饮预定
    2. 预定修改次数、用户类型

提出问题:

  1. 对用户来说,一年中预订酒店房间的最佳时间是什么时候?
  2. 如何提高酒店营收?
  3. 预测一家酒店的预订单是否会被取消。(待更新)

数据概览

字段 定义
hotel Hotel (H1 = Resort Hotel or H2 = City Hotel)
is_canceled Value indicating if the booking was canceled (1) or not (0)
lead_time Number of days that elapsed between the entering date of the booking into the PMS and the arrival date
arrival_date_year Year of arrival date
arrival_date_month Month of arrival date
arrival_date_week_number Week number of year for arrival date
arrival_date_day_of_month Day of arrival date
stays_in_weekend_nights Number of weekend nights (Saturday or Sunday) the guest stayed or booked to stay at the hotel
stays_in_week_nights Number of week nights (Monday to Friday) the guest stayed or booked to stay at the hotel
adults Number of adults
children Number of children
babies Number of babies
meal Type of meal booked. Categories are presented in standard hospitality meal packages: Undefined/SC – no meal package; BB – Bed & Breakfast; HB – Half board (breakfast and one other meal – usually dinner); FB – Full board (breakfast, lunch and dinner)
country Country of origin. Categories are represented in the ISO 3155–3:2013 format
market_segment Market segment designation. In categories, the term “TA” means “Travel Agents” and “TO” means “Tour Operators”
distribution_channel Booking distribution channel. The term “TA” means “Travel Agents” and “TO” means “Tour Operators”
is_repeated_guest Value indicating if the booking name was from a repeated guest (1) or not (0)
previous_cancellations Number of previous bookings that were cancelled by the customer prior to the current booking
previous_bookings_not_canceled Number of previous bookings not cancelled by the customer prior to the current booking
reserved_room_type Code of room type reserved. Code is presented instead of designation for anonymity reasons.
assigned_room_type Code for the type of room assigned to the booking. Sometimes the assigned room type differs from the reserved room type due to hotel operation reasons (e.g. overbooking) or by customer request. Code is presented instead of designation for anonymity reasons.
booking_changes Number of changes/amendments made to the booking from the moment the booking was entered on the PMS until the moment of check-in or cancellation
deposit_type Indication on if the customer made a deposit to guarantee the booking. This variable can assume three categories: No Deposit – no deposit was made; Non Refund – a deposit was made in the value of the total stay cost; Refundable – a deposit was made with a value under the total cost of stay.
agent ID of the travel agency that made the booking
company ID of the company/entity that made the booking or responsible for paying the booking. ID is presented instead of designation for anonymity reasons
days_in_waiting_list Number of days the booking was in the waiting list before it was confirmed to the customer
customer_type Type of booking, assuming one of four categories: Contract - when the booking has an allotment or other type of contract associated to it; Group – when the booking is associated to a group; Transient – when the booking is not part of a group or contract, and is not associated to other transient booking; Transient-party – when the booking is transient, but is associated to at least othe
1. 功能需求分析 用户管理:添加用户,修改用户密码。 客户管理:添加客户,查询,修改,删除客户信息。 客房管理:添加客房,查询,修改,删除客房信息。 客房类型管理:添加客房类型,修改客房类型。 订房:预订客房,取消预订房间。 客房登记信息管理:查看客房登记信息。 2. 概念设计 用户实体ER图 客户信息实体ER图 客房信息实体ER图 客房类型ER图 登记记录ER图 总ER图 3. 逻辑结构设计 1. 客人信息表:tbclient "字段名 "数据类型 "空/非空 "约束条件 "其他说明 " "clientId "int "not null "IDENTITY(1"客户ID " " " " ",1) " " " " " "PRIMARY " " " " " "KEY " " "name "varchar(20)"not null " "客户姓名 " "sex "varchar(2) "not null " "性别 " "identityCar"varchar(30)"not null " "证件号 " "d " " " " " "phone "varchar(20)"not null " "联系电话 " 2. 登录信息表:tbemployee "字段名 "数据类型 "空/非空 "约束条件 "其他说明 " "employeeId "int "not null "IDENTITY(1"用户编号 " " " " ",1) " " " " " "PRIMARY " " " " " "KEY " " "userName "varchar(20)"not null " "用户名 " "password "varchar(20)"not null " "密码 " "per "int "not null " "权限 " 3. 房间类型表:tbtype "字段名 "数据类型 "空/非空 "约束条件 "其他说明 " "typeId "int "not null "IDENTITY(1"类型编号 " " " " ",1) " " " " " "PRIMARY " " " " " "KEY " " "typeName "varchar(20)"not null " "类型名 " "price "int "not null " "价格 " 4. 房间信息表:tbroom "字段名 "数据类型 "空/非空 "约束条件 "其他说明 " "roomId "int "not null "IDENTITY(1"房间ID " " " " ",1) " " " " " "PRIMARY " " " " " "KEY " " "roomNum "int "not null " "房间号 " "typeId "int "not null "foreign "房间类型I" " " " "key "D " " " " "REFERENCES" " " " " "tbtype(typ" " " " " "eId) " " "status "varhar(10) "not null " "房间状态 " 5. 客户住房登记信息表:tbcheckin "字段名 "数据类型 "空/非空 "约束条件 "其他说明" "checkId "int "not null"IDENTITY(1,1) "登记ID " " " " "PRIMARY KEY " " "roomNum "int "not null"foreign key "房间号 " " " " "REFERENCES " " " " " "tbroom(roomNum" " " " " ") " " "clientId "int "not null"foreign key "客户ID " " " " "REFERENCES " " " " " "tbclient(clent" " " " " "Id) " " "startDate "date "not null" "预订入住" " " " " "日期 " "lastDate "date "not null" "退房日期" "spe "varchar(50" " "描述 " " ") " " " " ----------------------- 酒店订房系统数据库设计全文共4页,当前为第1页。 酒店订房系统数据库设计全文共4页,当前为第2页。 酒店订房系统数据库设计全文共4页,当前为第3页。 酒店订房系统数据库设计全文共4页,当前为第4页。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值