Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- del df['id_x']
- del df['id_y']
- #######################
- i = cars.loc[cars.origin == 'usa'].index
- cars.drop(index = i, inplace = True) # delete rows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement