Kursinnehåll
Identifying Fake News
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.
Uppgift
Swipe to start coding
- Read the CSV files containing fake news and true news into their respective DataFrames.
- Set the values of the target column
'class'
to0
for thefake_news
DataFrame and to1
for thetrue_news
DataFrame. - Use the appropriate function to merge these two DataFrames.
- Display the first 5 rows of the resulting DataFrame using the appropriate method.
Lösning
Mark tasks as Completed
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 2
AVAILABLE TO ULTIMATE ONLY