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:
Questo esercizio fa parte del corso
Cleaning Data in Python
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio