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