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