Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python: remove specific values in a dataframe

df.drop(df.index[df['myvar'] == 'specific_name'], inplace = True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #specific #values #dataframe
ADD COMMENT
Topic
Name
1+2 =