human
How to drop a list of rows from Pandas dataframe?
assistant
Here is some code to drop rows whose index value in list `[1, 3]` in dataframe `df`

df.drop(df.index[[1, 3]], inplace=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.