Python: Hapus nilai spesifik dalam DataFrame
df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
Andrea Perlato
df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
# Keeps only rows without a missing value
df = df[df['name'].notna()]