How do i write the python code to drop certain values? E.g. I want to drop an extreme value in the data frame column. I tried to select first before dropping which failed.
data[['Metabolic rate']>2000] also tried; data['Metabolic rate'>2000]
TypeError Traceback (most recent call last) in 1 #your answer ----> 2 data[['Metabolic rate']>2000]
TypeError: '>' not supported between instances of 'list' and 'int'