Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grouped = df.groupby(['Region'])
- df1 = df.drop(grouped.get_group(('Southwest')).index).
- grouped = df.groupby(['Region'])
- df1 = df.drop(grouped.get_group(('Southwest','Northwest')).index)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement