Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What function do we use to detect missing values in a pandas DataFrame?
Think about what method checks for NaN values.
Which method would remove all rows with missing data?
Consider the action of dropping missing entries.
Which function is used to drop rows with missing values in pandas?
It starts with 'drop' and deals with NaN.
True or False: Z-score is used to detect outliers.
Consider what Z represents in statistical contexts.
Given a dataset with a 'Height' column in centimeters, write a function to find and remove outliers based on the IQR method. Explain each step taken.
Remember to define Q1 and Q3 before filtering!
Create a DataFrame with duplicate entries of a fictional customer dataset. Write code to identify and display these duplicates before using drop_duplicates() to remove them. Explain why this step is necessary.
Think of duplicates like repeating unwanted guests at a party who mess up the fun!
6 more questions in this section. Enroll free to practise them all.
Enroll free