Skip to content

Instantly share code, notes, and snippets.

@byshen
Last active September 29, 2018 02:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?

create a new dataframe by filter according to a column's value in another dataframe.

df1 = df[~df['row].isin(list)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment