df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
df = df[df.line_race != 0]
# Keeps only rows without a missing value df = df[df['name'].notna()]