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 creating the offset instance with specific day offset, shows 'offset' is an invalid keyword.
Expected Output
Trying to use the CustomBusinessMonthBegin together with my customized calender and a day offset to get the N_th business day of a certain calender.
Return value should be a caloffset instance.
MonthBegin to get the first business day works well. What if I want to get the second/third/...n_th business day?
Output of pd.show_versions()
0.18.0
# Paste the output here pd.show_versions() here
The text was updated successfully, but these errors were encountered:
This looks fixed on master. I guess it could use a test
In [19]: from datetime import timedelta
In [20]: from pandas.tseries.offsets import CustomBusinessMonthBegin
...:
...: my_offset= CustomBusinessMonthBegin(offset=timedelta(days=5))
In [21]: my_offset
Out[21]: <CustomBusinessMonthBegin: offset=datetime.timedelta(days=5)>
Code Sample, a copy-pastable example if possible
Problem description
when creating the offset instance with specific day offset, shows 'offset' is an invalid keyword.
Expected Output
Trying to use the CustomBusinessMonthBegin together with my customized calender and a day offset to get the N_th business day of a certain calender.
Return value should be a caloffset instance.
MonthBegin to get the first business day works well. What if I want to get the second/third/...n_th business day?
Output of
pd.show_versions()
0.18.0
The text was updated successfully, but these errors were encountered: