Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete rows based on condition python

df = df.drop(df[df.score < 50].index)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #rows #based #condition #python
ADD COMMENT
Topic
Name
5+7 =