Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pd drop a range of dates

df.loc[(df.index < start_remove) | (df.index > end_remove)]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pd #drop #range #dates
ADD COMMENT
Topic
Name
9+5 =