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 > Student Works > When Life Gives You (Lulu)lemons

When Life Gives You (Lulu)lemons

Stella Kim
Posted on Mar 13, 2019

ABOUT ME
My name is Stella Kim and I am data scientist interested in helping businesses make data-driven decisions by leveraging customer information to improve sales.
Here is the link to the Shiny application, and here is the link my GitHub where you can find the associated code.

BACKGROUND
Customers now have a wide platform to communicate their thoughts and opinions about brands and products much more effectively, whether through online websites, social media, customer service, physical stores. However, while the digital age has allowed consumers and brands to connect at a higher level than ever before, companies are still lagging behind customer needs and expectations. In order glean the most insight out of their customers, companies must follow closely along their entire journey to examine their purchasing habits, likes, dislikes, and a variety of other personalized information. Bottom line: know your audience.

While I considered scraping reviews from multiple websites (including Sephora, Athleta, Nike, Colourpop, & Other Stories), what piqued my interest in Lululemon was the unusual distribution of ratings. While most companies are known to delete (at least some) negative reviews and plant highly-rated reviews, I found it odd that several (if not all) Lululemon products (women's tights in this case) had a peak at 2- and 5-stars, which could be (1) from customers at opposite ends of the extreme (very happy and very mad customers) in a scenario where Lululemon actually does not delete reviews or (2) from artificially-planted (fake 5-star reviews).

The main motivation for this project was to search through ratings and reviews patterns that can explain any gaps in customer satisfaction, either by product or by customer segment, to see how Lululemon (or any company) could improve these issues, because ultimately, customers are free agents who decide where, when, and how to spend their money.

DATA COLLECTION
My project involved scraping the lululemon athletica website for product information and reviews. Specifically, I used Selenium to collect URLs for individual women's tights.

I subsequently scraped ratings, reviews, and user profile information (username, location, athletic type, age, body type, likes, and dislikes) for each product, as well as any responses by the company. Overall, I scraped 13,825 different reviews from 35 different products, with reviews ranging from 2015 to 2019.

INTERACTIVE WEB APPLICATION
With this data, I created a multi-purpose web application, which can be used to parse through multiple components such as product ratings, reviews, customer profiles, and natural language processing (sentiment analysis and word clouds).

Overall, the average rating of all women's tights is 2.98. Breaking down all reviews starting from 2015, there is an obvious peak of 2- and 5-star ratings. I was interested to see whether there was a shift in these ratings from a relative year-to-year perspective. From a visual perspective, there does seem to be a shift from 2- and 3- to 5-star reviews from 2017 to 2018.

I chose to look ratings from a product perspective, breaking down individual products based on customer profile. This includes athletic type, age range, body type, and fit (of product).

I also chose to look at products from a customer perspective. Athletic type is broken down into 5* categories: sweaty generalist, dancer, yogi, runner, and cyclist. Age range is down into 8* categories: under 18, 18-24, 25-34, 35-44, 45-54, 55-65, over 65, and "I keep my age on the D.L.". Body type is broken down into 6* categories: petite, solid, curvy, athletic, slim, and muscular. Finally, fit is broken down into 7* categories: second skin, tight, snug, flowy, just right, roomy, and oversized.

*N/As are not counted as a category here

There weren't huge differences between athletic types, with dancers giving the lowest average rating at 2.87 stars and cyclists giving the highest average rating at 3.22.

Similarly, there weren't many obvious differences between different body types, with athletic customers giving an average rating of 2.99 stars and solid (whatever that may mean) customers giving an average of 3.28 stars.

Customer age range, however, showed a more distinct pattern. As the age range increased, customers tended to be more generous with their ratings. Customers under 18 gave an average rating of 2.93; 18-24 gave an average of 2.7; 25-34 gave an average of 3.04, 35-44 gave an average of 3.54; 45-54 gave an average of 3.91; 55-65 gave an average of 4.22; over 65 gave an average of 4.34 (with only 35 reviews total); and "I keep my age on the DL" gave an average of 3.54, but this category could be any mix of ages. This shows that while the older market is seemingly more satisfied with their product, there is room for improvement with the younger market.

Customers under 18 gave an average rating of 293 and customers 55 65 gave an average rating of 422

Continuing this trend, the fit of the tights also showed a dramatic shift. In order from tightest to loosest (second skin, tight, snug, just right, roomy, flowy, oversized), the average rating for each category was 3.53, 3.19, 3.11, 3.08, 2.17, 1.34, and 1.7 stars. Personally, I would think that "just right" would be the perfect fit, but everyone is different! Clearly, the more closely the tights fit the customer, the more well-regarded the product is.

Customers who described the fit of their tights as second skin gave an average of 353 stars and those who described it as oversized gave an average rating of 17 stars

I also examined the reviews for each product through sentiment analysis. Unsurprisingly, the polarity of reviews increased with ratings. However, subjectivity remained relatively stable across all ratings. One feature I would like to work on is to do further sentiment analysis on reviews by different customer profiles, to see whether these patterns in age range and product fit are also reflected in the polarity and subjectivity of reviews.

Continuing with the reviews, I also generated word clouds for each product. Unsurprisingly, the words "pants" and "leggings" showed up most frequently, indicating that these should be added as stop words when I go back and re-process the data. I am also interested in breaking down word clouds by rating, to see the most common praises (i.e "comfortable") versus most common complaints (i.e. "pilling").

Finally, I was also interested in analyzing company response rates. Customer service is a key component in running a successful business, by gently reminding customers that businesses are listening to their input. The average response time for each product does not vary much, with most products hovering around 1 day. The response rate, on the other hand, varied from product to product, with the 4-star ratings receiving the least and negative ratings receiving more responses.

1 to 3 star reviews tend to have higher response rates versus 4 and 5 star reviews

FUTURE WORK
This application is a work in progress, and there is more that I would like to do with all of the information that I scraped. I would like to add more descriptive analyses on the various customer groups and would like to include more analyses involving natural language processing. In particular, I would like to look more into the "age range" and "fit" categories to determine the most common complaints in negative ratings, which would give a good idea of how Lululemon could cater to these clients.

For more information on customer/journey analytics, check out these links:
(1) https://www.mckinsey.com/business-functions/marketing-and-sales/our-insights/five-questions-brands-need-to-answer-to-be-customer-first-in-the-digital-age
(2) https://www.mckinsey.com/business-functions/operations/our-insights/mastering-the-digital-advantage-in-transforming-customer-experience
(3) https://www.mckinsey.com/business-functions/marketing-and-sales/our-insights/from-touchpoints-to-journeys-seeing-the-world-as-customers-do
(4) https://www.mckinsey.com/business-functions/marketing-and-sales/our-insights/irrational-consumption-how-consumers-really-make-decisions
(5) https://www.bain.com/insights/management-tools-customer-segmentation/
(6) https://www.bain.com/insights/predictive-analytics-can-widen-the-aperture-for-potential-sales-snapchart/

About Author

Stella Kim

Stella Kim is a data scientist with 4 years of experience using R, a Master's in Biotechnology, and PhD experience in Cancer Biology and Computational Genomics. Proficient in R, Python, and SQL. Passionate about data analytics, visualization, machine...
View all posts by Stella Kim >

Leave a Comment

Cancel reply

You must be logged in to post 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