How big is your subset?
You have the following loans
DataFrame which contains loan and credit score data for consumers, and some metadata such as their first and last names. You want to find both complete and incomplete duplicates using .duplicated().
first_name | last_name | credit_score | has_loan |
---|---|---|---|
Justin | Saddlemeyer | 600 | 1 |
Hadrien | Lacroix | 450 | 0 |
Choose the correct usage of .duplicated()
below:
This exercise is part of the course
Cleaning Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
