Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop a range of rows pandas

#To delete rows 12 to 22 from the dataframe 
df.drop(range(12,23), inplace=True)
 
PREVIOUS NEXT
Tagged: #drop #range #rows #pandas
ADD COMMENT
Topic
Name
2+3 =