extract rows from dataframe python code example Example: remove rows from dataframe df.drop(['Cochice', 'Pima'])