Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Data Preprocessing | Identifying Fake News
Identifying Fake News
course content

Kursusindhold

Identifying Fake News

book
Data Preprocessing

As a mandatory step in our analysis, we must preprocess our data. Data preprocessing is the process of cleaning, transforming, and organizing the data to make it more suitable for analysis and modeling. This typically involves several steps, such as the following:

  • removing missing or duplicate values;

  • correcting inconsistencies;

  • transforming the data into a format that is easier to manage.

Opgave

Swipe to start coding

  1. Remove unnecessary columns (for our further analysis): 'title', 'subject', and 'date'.

  2. Use the appropriate method to remove duplicates.

  3. Use the appropriate methods to shuffle the DataFrame and reset its index.

  4. Use the appropriate method to check for missing values (NaN values).

Løsning

Mark tasks as Completed
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 3
AVAILABLE TO ULTIMATE ONLY
Vi beklager, at noget gik galt. Hvad skete der?
some-alt