Course Content
Exploratory Data Analysis (EDA) Essentials: The Nobel Prizes Project
Exploratory Data Analysis (EDA) Essentials: The Nobel Prizes Project
Motivation Analysis
In this chapter, we will analyze text and understand which word is more represented in our data. First, we will remove all stopwords from the motivation column and transform our data.
For example, the sentence: "I like reading, so I read" will be transformed into: "Like Reading Read". Then we will plot these words into a wordcloud, with their size determined by their presence in our data.
Task
- Initialize a new empty column called
"Filtered motivation"
. This column will store the motivation column with the stopwords removed; - Complete the for loop inside the list comprehension;
- Store the newly created column inside a single variable called
text
. Join all cells with a space between them.
Everything was clear?
Section 1. Chapter 6
Start learning today and achieve
coding mastery
- Master Python, SQL, JavaScript & more.
- Learn with Step-by-Step Lessons.
- Get Ready for Real-World Projects.
- Earn a Certificate Upon Completion.