Last active
May 28, 2020 06:32
-
-
Save harsha89/7d1a52aaecfc0546e59db2828d155a1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get indexes where name column has value john | |
indexNames = df[df['name'] == 'john'].index | |
# Delete these row indexes from dataFrame | |
df.drop(indexNames , inplace=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment