pandas drop all columns in a list code example Example: pandas drop a list of rows df.drop(df.index[[1,3]], inplace=True)