Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
True News and Fake News | Identifying Fake News
Identifying Fake News
course content

Course Content

Identifying Fake News

test

Swipe to show menu

book
True News and Fake News

We will now start working on our project. The final goal of our analysis is to predict whether the given news is fake or true. You will handle text data and build ML (Machine Learning) algorithms.

Task
test

Swipe to show code editor

  1. Read the CSV files containing fake news and true news into their respective DataFrames.
  2. Set the values of the target column 'class' to 0 for the fake_news DataFrame and to 1 for the true_news DataFrame.
  3. Use the appropriate function to merge these two DataFrames.
  4. Display the first 5 rows of the resulting DataFrame using the appropriate method.

Mark tasks as Completed
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 1. Chapter 2
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt