drop one row if pandas code example Example 1: delete a row in pandas dataframe df.drop(df.index[2]) Example 2: remove rows from dataframe df.drop(['Cochice', 'Pima'])