Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas drop row by condition

df = df.drop(df[df.score < 50].index)
 
PREVIOUS NEXT
Tagged: #pandas #drop #row #condition
ADD COMMENT
Topic
Name
7+9 =