Skip to content

Commit 237f92f

Browse files
authored
Merge pull request #16 from atuljha23/patch-1
Update 06-locating-suspicious-data.py
2 parents 51835ff + 30911b7 commit 237f92f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

12-manipulating-dataframes-with-pandas/05-putting-it-all-together/06-locating-suspicious-data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
sus = (medals.Event_gender == 'W') & (medals.Gender == 'Men')
1616

1717
# Create a DataFrame with the suspicious row: suspect
18-
suspect = medals[(medals.Event_gender == 'W') & (medals.Gender == 'Men')]
18+
suspect = medals[sus]
1919

2020
# Print suspect
2121
print(suspect)

0 commit comments

Comments
 (0)