Skip to content

Commit 8e119ed

Browse files
committed
Minor modification
1 parent 3069318 commit 8e119ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

introduction-pandas/2882-drop-duplicate-rows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949
import pandas as pd
5050

5151
def dropDuplicateEmails(customers: pd.DataFrame) -> pd.DataFrame:
52-
return customers.drop_duplicates("email")
52+
return customers.drop_duplicates(subset = "email")

0 commit comments

Comments
 (0)