Python: удалить конкретные значения в DataFrame
df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
Andrea Perlato
df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
df = df[df.line_race != 0]