Aan de slagGa gratis aan de slag

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:

Deze oefening maakt deel uit van de cursus

Cleaning Data in Python

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen