Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete rows based on condition python

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