Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

conditional row delete pandas

df = df.drop(df[(df.score < 50) & (df.score > 20)].index)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #conditional #row #delete #pandas
ADD COMMENT
Topic
Name
9+6 =