Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
course content

Course Content

Identifying Fake News

True News and Fake NewsTrue 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

  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

Everything was clear?

Section 1. Chapter 2
AVAILABLE TO ULTIMATE ONLY
some-alt