pandas dataframe delete where code example Example: delete rows in dataframe pandas df.drop(df.index[2])