Skip to content

Sentiment analysis of more than 3000 available reviews of British Airways airline prepared with the VADER library.

Notifications You must be signed in to change notification settings

bdplazo/Virtual_Internship_BA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Internship at British Airways

alt text

Little summary

Hey! This repository corresponds to my first virtual internship as a data scientist for British Airways. This project aims to better understand customers and their experience with the airline. For this, a collection of user reviews was done by web scraping and then a sentiment analysis of these reviews.

Status of the project

The status of the project is finalized! Here you will find some that summarize the analysis very well!

Dataset and libraries used

This model was made on a jupyter notebook, and I used the following libraries: Request, NLTK, BeautifulSoup, Pandas, RegEx and VADER. The dataset used was collected by scraping and stored in 'BA_reviews.csv'.

Steps

Steps:

  1. Scrape the 3564 British Airways reviews avaible on the AirQuality website link.

  2. Cleaning of the data, leaving the text column of the reviews ready for analysis.

  3. Sentiment analysis using VADER polarity scores, where the sentiment compound is composed of the sum of negative, neutral and positive sentiment.

  4. Data viz: Plotting the key data!

Results!

The frequency chart illustrates that the reviews are primarily focused on certain themes, including "service", "seat", "crew", and "staff", indicating that customers are discussing their experiences and interactions with the staff. Also it is important to note how the word 'good' is in third position, which could indicate a good user experience for British Airways. alt text

alt text

alt text

About

Sentiment analysis of more than 3000 available reviews of British Airways airline prepared with the VADER library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published