Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge 2 | Moving on to Tasks
Data Preprocessing
course content

Course Content

Data Preprocessing

Data Preprocessing

1. Brief Introduction
2. Processing Quantitative Data
3. Processing Categorical Data
4. Time Series Data Processing
5. Feature Engineering
6. Moving on to Tasks

bookChallenge 2

Task
test

Swipe to show code editor

So, now let's remember what we do with text data. You will be working with the 'reviews.csv' dataset, and your task will be to encode text data using the bag of words method.

  1. Create a CountVectorizer object to tokenize text
  2. Fit data to the tokenizer
  3. Print the vocabulary of the tokenizer
  4. Encode 'Text' column
  5. Print the results

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 6. Chapter 2
toggle bottom row

bookChallenge 2

Task
test

Swipe to show code editor

So, now let's remember what we do with text data. You will be working with the 'reviews.csv' dataset, and your task will be to encode text data using the bag of words method.

  1. Create a CountVectorizer object to tokenize text
  2. Fit data to the tokenizer
  3. Print the vocabulary of the tokenizer
  4. Encode 'Text' column
  5. Print the results

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 6. Chapter 2
toggle bottom row

bookChallenge 2

Task
test

Swipe to show code editor

So, now let's remember what we do with text data. You will be working with the 'reviews.csv' dataset, and your task will be to encode text data using the bag of words method.

  1. Create a CountVectorizer object to tokenize text
  2. Fit data to the tokenizer
  3. Print the vocabulary of the tokenizer
  4. Encode 'Text' column
  5. Print the results

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

So, now let's remember what we do with text data. You will be working with the 'reviews.csv' dataset, and your task will be to encode text data using the bag of words method.

  1. Create a CountVectorizer object to tokenize text
  2. Fit data to the tokenizer
  3. Print the vocabulary of the tokenizer
  4. Encode 'Text' column
  5. Print the results

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 6. Chapter 2
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt