Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop rows in list pandas

rows = df.index[[0,2]]

df.drop(rows, inplace=True)
 
PREVIOUS NEXT
Tagged: #drop #rows #list #pandas
ADD COMMENT
Topic
Name
6+8 =