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
I have patched tseries/offsets.py with a couple of lines and it corrects the problem without apparently breaking any of the existing tests (version 0.13.0-94-g0bab303). I am not super familiar with git but can try to write a PR about this if appropriate.
The text was updated successfully, but these errors were encountered:
This issue is closely related to bug #2680 and I believe it is also a bug.
The problem appears when adding a number of BDay n with n > 5, n % 5 == 0 to
a starting date which is not on offset.
For instance
We except Friday and not Sunday. Likewise, Friday is 'gone' from the week in the following loop:
It does yield the correct results for substraction however:
I have patched tseries/offsets.py with a couple of lines and it corrects the problem without apparently breaking any of the existing tests (version 0.13.0-94-g0bab303). I am not super familiar with git but can try to write a PR about this if appropriate.
The text was updated successfully, but these errors were encountered: