NYC Data Science Academy| Blog
Bootcamps
Lifetime Job Support Available Financing Available
Bootcamps
Data Science with Machine Learning Flagship πŸ† Data Analytics Bootcamp Artificial Intelligence Bootcamp New Release πŸŽ‰
Free Lesson
Intro to Data Science New Release πŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook Graduate Outcomes Must See πŸ”₯
Alumni
Success Stories Testimonials Alumni Directory Alumni Exclusive Study Program
Courses
View Bundled Courses
Financing Available
Bootcamp Prep Popular πŸ”₯ Data Science Mastery Data Science Launchpad with Python View AI Courses Generative AI for Everyone New πŸŽ‰ Generative AI for Finance New πŸŽ‰ Generative AI for Marketing New πŸŽ‰
Bundle Up
Learn More and Save More
Combination of data science courses.
View Data Science Courses
Beginner
Introductory Python
Intermediate
Data Science Python: Data Analysis and Visualization Popular πŸ”₯ Data Science R: Data Analysis and Visualization
Advanced
Data Science Python: Machine Learning Popular πŸ”₯ Data Science R: Machine Learning Designing and Implementing Production MLOps New πŸŽ‰ Natural Language Processing for Production (NLP) New πŸŽ‰
Find Inspiration
Get Course Recommendation Must Try πŸ’Ž An Ultimate Guide to Become a Data Scientist
For Companies
For Companies
Corporate Offerings Hiring Partners Candidate Portfolio Hire Our Graduates
Students Work
Students Work
All Posts Capstone Data Visualization Machine Learning Python Projects R Projects
Tutorials
About
About
About Us Accreditation Contact Us Join Us FAQ Webinars Subscription An Ultimate Guide to
Become a Data Scientist
    Login
NYC Data Science Acedemy
Bootcamps
Courses
Students Work
About
Bootcamps
Bootcamps
Data Science with Machine Learning Flagship
Data Analytics Bootcamp
Artificial Intelligence Bootcamp New Release πŸŽ‰
Free Lessons
Intro to Data Science New Release πŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook
Graduate Outcomes Must See πŸ”₯
Alumni
Success Stories
Testimonials
Alumni Directory
Alumni Exclusive Study Program
Courses
Bundles
financing available
View All Bundles
Bootcamp Prep
Data Science Mastery
Data Science Launchpad with Python NEW!
View AI Courses
Generative AI for Everyone
Generative AI for Finance
Generative AI for Marketing
View Data Science Courses
View All Professional Development Courses
Beginner
Introductory Python
Intermediate
Python: Data Analysis and Visualization
R: Data Analysis and Visualization
Advanced
Python: Machine Learning
R: Machine Learning
Designing and Implementing Production MLOps
Natural Language Processing for Production (NLP)
For Companies
Corporate Offerings
Hiring Partners
Candidate Portfolio
Hire Our Graduates
Students Work
All Posts
Capstone
Data Visualization
Machine Learning
Python Projects
R Projects
About
Accreditation
About Us
Contact Us
Join Us
FAQ
Webinars
Subscription
An Ultimate Guide to Become a Data Scientist
Tutorials
Data Analytics
  • Learn Pandas
  • Learn NumPy
  • Learn SciPy
  • Learn Matplotlib
Machine Learning
  • Boosting
  • Random Forest
  • Linear Regression
  • Decision Tree
  • PCA
Interview by Companies
  • JPMC
  • Google
  • Facebook
Artificial Intelligence
  • Learn Generative AI
  • Learn ChatGPT-3.5
  • Learn ChatGPT-4
  • Learn Google Bard
Coding
  • Learn Python
  • Learn SQL
  • Learn MySQL
  • Learn NoSQL
  • Learn PySpark
  • Learn PyTorch
Interview Questions
  • Python Hard
  • R Easy
  • R Hard
  • SQL Easy
  • SQL Hard
  • Python Easy
Data Science Blog > Data Visualization > The Budget Traveler's Data Guide to Southeast Asia

The Budget Traveler's Data Guide to Southeast Asia

Zack Zbar
Posted on May 18, 2020
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

LinkedIn | GitHub

Introduction

I spent the year 2019 on the road. One year of solo-travel without plans or expectations - just a thirst for adventure and (hopefully) enough savings to get me through. I stored all my data to create this guide. 

For most of the year you could find me somewhere in Southeast Asia, where a savvy traveler can enjoy a wide variety of exotic experiences for a budget-friendly price. For most nights of that year, you could find me sharing a room with fellow budget-conscious travelers in a bunk-bed style hostel.

While they vary in quality and price, hostels are the centerpieces of the long-term traveler’s ability to keep the trip rolling. Not only to get a good night’s sleep for less than $10 a night, but even more so to place yourself in  community, making friends and memories the whole way through.

Fresh out of the budget-traveler mindset and newly armed with web-scraping skills, I decided to peel back the curtain on Hostelworld, the go-to site for booking hostels around the world. Specifically, I wanted insight on the region where I spent the last year. What are Southeast Asia’s best budget-traveler destinations?

Scraping the Data

I scraped the data using Scrapy from Hostelworld.com on May 8, 2020 (the date is important because prices may change throughout the year).

The observations include every listed property from the top 5 destinations in each of the 11 Southeast Asian nations, and also Hong Kong. The reason for including Hong Kong is that it often serves as a connector airport for flights between Southeast Asia and the rest of the world, which often allows travelers to loop the fast-paced metropolis into a longer backpacking trip. 

The fields collected on each hostel include price, overall rating, component ratings, property description, and basic identifying information for each property.

Hostelworld

Hostelworld's website is navigated by searching the city you want to visit. The search pages had 20 hostels per page, and the information I wanted to scrape was split out between each hostel's tab on the search page and each hostel's full listing page. Therefore, I had to write a script that would start on a city's first search page, scrape the fields I want from that page, repeat for however many pages of hostels are listed (for instance, Bangkok had 12 pages while Hanoi had 6), and then enter each hostel's full listing page to scrape the remaining fields.

This process was not without its roadblocks, including the fact that Hostelworld (at the time of my scraping) uses two different structures for search pages. One of the structures seems to use static data that is easily grabbed by Scrapy. The other seems to use fluid, live-loading tiles where data is loaded from some inaccessible backend framework - this structure would not allow scraping with Scrapy, and instead I would have had to use a tool more apt at handling live-loading websites like Selenium. Once I discovered this, I had to modify the script to always divert to the static version of the search pages.

Another issue on the search pages was that when grabbing a list of a particular field, one for each entry on the search page, some cities' search pages pulled in extra arbitrary items. This was likely also due to the different site structures between cities. In order to account for this, I modified the script with an if-else statement that identified which scenario I was dealing with on each page, and deleted the appropriate amount of items.

Once these and other minor webscraping issues were dealt with, I had data on over 2,500 hostels across Southeast Asia (more than a few of which I recognized from my travels).

Creating the Value Score

In order to answer my research question, I needed a metric that spoke directly to the budget-traveler's needs - great experiences for low prices. Enter Value Score: Overall Rating divided by Price Per Night.

The Budget Traveler's Data Guide to Southeast Asia

The chart above shows the Top 11 hostels by value score in Southeast Asia, as posted on Hostelworld on May 8, 2020. Taking the top ranked property as an example, we see an overall rating of 9/10 (coming from 198 reviews), with the cheapest bed costing $3 per night. That calculates to a Value Score of 3.000, and a budget-traveler’s dream come true.

Budget Score Data Analysis

Digging deeper on the Value Score, we can see how things settle out by country.

The Budget Traveler's Data Guide to Southeast Asia

On the left of the two charts above (Price by Country), Singapore and Hong Kong show much higher average prices per night than any other destination. Vietnam, Laos and Cambodia come through with the lowest average prices. Moving to the right (Value by Country), we see what’s largely an inverse of the Price chart. Singapore and Hong Kong have the worst average value, while Vietnam, Laos and Cambodia have the best.

In most worlds of products and services, we associate higher prices with higher quality. But the story told by these charts suggest that the hostel community might not play by the same rules.

Value Score

Next I sorted all properties by Value Score, and made subsets of the Top 250 and Bottom 250. We can imagine that this is for the picky backpacker who only wants to get the best value for their money. All the best value hostels and none of the worst.

The charts below reflect the following questions:

For each country, what percent of this country’s hostels appear in the Top/Bottom 250 by Value?
How does that compare to that country’s percent of hostels in the full dataset?

The Budget Traveler's Data Guide to Southeast Asia

Findings

In other words, the blue bar asks what percent of the Top/Bottom 250 are in each country; while the green bar asks what percent of all hostels are in each country.

In a perfect, evenly distributed world, we would expect each country’s blue bar and green bar to be the same height. If Thailand has 36% of all hostels in Southeast Asia, it should have 36% of all Top Value hostels in Southeast Asia. However, a perfect, evenly distributed world would not be much fun for data analysts.

Instead we see a few countries that stand out for disproportionately high numbers of high and low value hostels. We’ll focus on the high-value subset, since our goal is to find the best budget-traveler destinations.

Looking for blue bars towering over green bars, the trio from earlier analysis emerges again. Vietnam has over 30% of the hostels in the Top Value list, with only 19% of all hostels. Cambodia has 15% of the Top Value hostels, with 6% of all hostels. Laos has 6% of the Top Value list, with 3% of all hostels.

Vietnam, Laos and Cambodia are not only showing high average Value Scores, they’re also showing dense populations of high-value hostels.

The Backpacker Trio

With our attention drawn to Vietnam, Laos and Cambodia, I can start to add in some domain knowledge. These three countries are the easternmost three in continental Southeast Asia. Land-border crossings from one to the next are easy and cheap. For example, a bus from Ho Chi Minh City, Vietnam to Phnom Penh, Cambodia will cost you $8 and take you 6 hours. In the context of 6 months or more on the road, that’s one of the best border crossings you’ll find. Further, they each have rather friendly visa laws, allowing for long stays and multiple entries.

I filtered for hostels in our newly identified backpacker trio to take one more look at the data. With Price Per Night on the x-axis and Overall Rating on the y-axis, the plot below represents every hostel across each of these countries combined. The darkest blue represents the densest concentration in this space.

The Budget Traveler's Data Guide to Southeast Asia

The story of this plot confirms the story as a whole. In Vietnam, Laos and Cambodia, an average Price of about $5.50 per night will get you an average Rating of 9/10 on Hostelworld.

Combine that with the ancient wonder of Angkor Wat, the world-class cuisine of Vietnam’s bustling cities, the untouched beauty of Laotian nature, and so much more to be discovered, and you’ve found yourself in budget-traveler heaven.

About Author

Zack Zbar

Certified Data Scientist with a background in consulting, bringing the mix of technical expertise and communication skills to make insights heard. Experienced in analytics, project management, and public speaking. Highly competent with business, academic, and creative writing. Organized...
View all posts by Zack Zbar >

Related Articles

Capstone
Catching Fraud in the Healthcare System
Capstone
The Convenience Factor: How Grocery Stores Impact Property Values
Capstone
Acquisition Due Dilligence Automation for Smaller Firms
Machine Learning
Pandemic Effects on the Ames Housing Market and Lifestyle
Machine Learning
The Ames Data Set: Sales Price Tackled With Diverse Models

Leave a Comment

No comments found.

View Posts by Categories

All Posts 2399 posts
AI 7 posts
AI Agent 2 posts
AI-based hotel recommendation 1 posts
AIForGood 1 posts
Alumni 60 posts
Animated Maps 1 posts
APIs 41 posts
Artificial Intelligence 2 posts
Artificial Intelligence 2 posts
AWS 13 posts
Banking 1 posts
Big Data 50 posts
Branch Analysis 1 posts
Capstone 206 posts
Career Education 7 posts
CLIP 1 posts
Community 72 posts
Congestion Zone 1 posts
Content Recommendation 1 posts
Cosine SImilarity 1 posts
Data Analysis 5 posts
Data Engineering 1 posts
Data Engineering 3 posts
Data Science 7 posts
Data Science News and Sharing 73 posts
Data Visualization 324 posts
Events 5 posts
Featured 37 posts
Function calling 1 posts
FutureTech 1 posts
Generative AI 5 posts
Hadoop 13 posts
Image Classification 1 posts
Innovation 2 posts
Kmeans Cluster 1 posts
LLM 6 posts
Machine Learning 364 posts
Marketing 1 posts
Meetup 144 posts
MLOPs 1 posts
Model Deployment 1 posts
Nagamas69 1 posts
NLP 1 posts
OpenAI 5 posts
OpenNYC Data 1 posts
pySpark 1 posts
Python 16 posts
Python 458 posts
Python data analysis 4 posts
Python Shiny 2 posts
R 404 posts
R Data Analysis 1 posts
R Shiny 560 posts
R Visualization 445 posts
RAG 1 posts
RoBERTa 1 posts
semantic rearch 2 posts
Spark 17 posts
SQL 1 posts
Streamlit 2 posts
Student Works 1687 posts
Tableau 12 posts
TensorFlow 3 posts
Traffic 1 posts
User Preference Modeling 1 posts
Vector database 2 posts
Web Scraping 483 posts
wukong138 1 posts

Our Recent Popular Posts

AI 4 AI: ChatGPT Unifies My Blog Posts
by Vinod Chugani
Dec 18, 2022
Meet Your Machine Learning Mentors: Kyle Gallatin
by Vivian Zhang
Nov 4, 2020
NICU Admissions and CCHD: Predicting Based on Data Analysis
by Paul Lee, Aron Berke, Bee Kim, Bettina Meier and Ira Villar
Jan 7, 2020

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day ChatGPT citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay football gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income industry Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI

NYC Data Science Academy

NYC Data Science Academy teaches data science, trains companies and their employees to better profit from data, excels at big data project consulting, and connects trained Data Scientists to our industry.

NYC Data Science Academy is licensed by New York State Education Department.

Get detailed curriculum information about our
amazing bootcamp!

Please enter a valid email address
Sign up completed. Thank you!

Offerings

  • HOME
  • DATA SCIENCE BOOTCAMP
  • ONLINE DATA SCIENCE BOOTCAMP
  • Professional Development Courses
  • CORPORATE OFFERINGS
  • HIRING PARTNERS
  • About

  • About Us
  • Alumni
  • Blog
  • FAQ
  • Contact Us
  • Refund Policy
  • Join Us
  • SOCIAL MEDIA

    Β© 2025 NYC Data Science Academy
    All rights reserved. | Site Map
    Privacy Policy | Terms of Service
    Bootcamp Application