Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop rows in list pandas

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

df.drop(rows, inplace=True)
Source by chrisalbon.com #
 
PREVIOUS NEXT
Tagged: #drop #rows #list #pandas
ADD COMMENT
Topic
Name
4+4 =