"dropping rows from dataframe based on a ""not in"" condtion",df = df[~df.datecolumn.isin(a)]