You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When either start or end is at the boundary of a date_range, they get dropped when they shouldn't if we specify the closed argument, see example below:
In [1]: pd.date_range('2015-09-12', '2015-10-30', freq='QS-MAR', closed='right')
Out[1]: DatetimeIndex([], dtype='datetime64[ns]', freq='QS-MAR')
In [2]: pd.date_range('2015-09-01', '2015-10-30', freq='QS-MAR', closed='left')
Out[2]: DatetimeInddex([], dtype='datetime64[ns]', freq='QS-MAR')
The text was updated successfully, but these errors were encountered:
thrasibule
changed the title
DatetimeIndex with closed=left or right drop dates at the boundaries
DatetimeIndex with closed='left' or right drop dates at the boundaries
Dec 9, 2015
thrasibule
changed the title
DatetimeIndex with closed='left' or right drop dates at the boundaries
DatetimeIndex with closed='left' or 'right' drop dates at the boundaries
Dec 9, 2015
When either start or end is at the boundary of a date_range, they get dropped when they shouldn't if we specify the closed argument, see example below:
The text was updated successfully, but these errors were encountered: