rows = df.index[[0,2]] df.drop(rows, inplace=True)
df = df[~df.datecolumn.isin(a)]
df.drop(df.index[[1,3,6,7]])