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