Using Data to Analyze Online Learning -Udemy Web Scraping

Posted on Jun 10, 2021


Using Data to Analyze Online Learning -Udemy Web Scraping


Udemy is an online learning platform for students and professionals. Udemy has more than 50 million students and 57,000 instructors who teach courses in over 65 languages. The company has more than 100,000 online courses available on desktops, laptops and mobile devices through its Android and iOS apps. Users can study any topic at any time, and every course purchase includes lifetime access to the classes. In this text we will use data to analyze online learning -udemy web scraping.

Popular course categories on Udemy include:

  • Development
  • Business
  • IT and software
  • Design
  • Marketing
  • Personal development
  • Photography
  • Music

You can answer a few quick questions, including what topics you’re curious about and how familiar you are with specific subjects, to receive personalized course recommendations.

Udemy courses are taught by video, audio or text. Course features vary by platform but can include quizzes, closed captions, bookmarks, reviews and instructor announcements.

When you complete a paid Udemy course, you receive a certificate of completion.

Some popular online learning platforms feature a membership system, but Udemy is a pay-per-course service. Courses on Udemy range from $9 to $300, and the company frequently hosts sales.


Udemy is already a great online platform for remote learning, and it has become much more popular and handier during this COVID-19 pandemic. As lot of people working from home or out of work enrolled in lot of courses to enhance their skills or learn new technologies for further career advancements. Being a student for more than 5 years and learned great courses for reasonable price, I was curious to see what the trending courses/ certifications during this time are.

Data extraction:

I have used Scrapy and Selenium for scraping as this site is java script rendered. Scraped 45000 records from different categories and different features such as No of students, rating, start, which category, if it is a best seller etc.

Using Data to Analyze Online Learning -Udemy Web Scraping

Data pre-processing:

Some data clean-up has been done to split the Category into 3 different columns to put it to the better use.

Exploratory Data Analysis:

Primary analysis reveals that majority courses have 4.4-to-4.7-star ratings. There are 500k courses rated below 4.2 stars.

 Using Data to Analyze Online Learning -Udemy Web Scraping

Our general intuition is that we look at the number of ratings before we sign-up for a course to get an idea of the quality of the content. We have a ratings feature extracted and the plot below shows that the courses with 4-5 stars has ratings between 25k-50k. There are some courses very highly rated as above 100k.

Using Data to Analyze Online Learning -Udemy Web Scraping

We have two more features lecture hours and if the course is a best seller or not. We would like to find out if the lecture hours have any impact on a course being a best seller. The plot below proves that the average lecture hours for a best seller is 8, whereas for the non-best seller is 4.5. It could be that students give good ratings to the elaborated courses than the abstract ones. Because individuals like to sign up for the collection of courses than going for the individual ones. This also shows that, for those who would like to offer the courses, and for it to be a best seller, the course needs to be at least 8-hour lectures.

Using Data to Analyze Online Learning -Udemy Web Scraping

Below are the top 10 course categories with high number of students enrolled. Development and IT are leading in the current market trend.

Same results were plotted using log scale.

Below are the top 10 courses in which field within the development with high number of students enrolled. Web Development, programming languages and certification courses look very popular.

Same results were plotted using log scale.

Python is the popular programming language that has high demand in the market. Ethical Hacking and JavaScript has the 2nd popular courses and both has almost same number of students. Java and AWS certification are 3rd in the row with similar demand.

Same results were plotted using log scale.

Below plot shows that Python and AWS Certification has highest rated languages so far in Udemy.

Python and JavaScript are the languages with the highest stars.

Below box plot shows that the best sellers are highest star rated courses as well. From this it is evident that for a course to be a best seller, ratings, stars and no of students playing a vital role.


Most rated courses, highly subscribed courses and best star rated courses are mostly from software and technology. Marketing also looks demanding, and people are also interested in finance and accounting to a certain extent. Based on interests or background, one can decide on which course can be the best fit for career growth.

Github link:

The skills I demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.


About Author


Data Science enthusiast with 9 years experience in database development and analytics. Proficient with data visualization and machine learning techniques in Python, R and SQL. Experienced in executing data driven solutions to increase efficiency and utility of internal...
View all posts by SWATHI BATTULA >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

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 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 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 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