python data row remove code example Example: python: remove specific values in a dataframe df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)