Skip to content Skip to sidebar Skip to footer

Exclude Day From Pandas Dataframe Date Range

If I want to select a range from the following dataframe I can use this command: bars_specified_days = bars['2016-05-27':'2016-06-03'] How do I exclude a single day (2016-05-30) f

Solution 1:

frame[frame.index != '2016-05-30'] 

Post a Comment for "Exclude Day From Pandas Dataframe Date Range"