Description
prob related to #4069
import pandas as pd
from pandas.tseries.offsets import *
help(BQuarterEnd)
Help on class BQuarterEnd in module pandas.tseries.offsets:
class BQuarterEnd(DateOffset, CacheableOffset)
| DateOffset increments between business Quarter dates
| startingMonth = 1 corresponds to dates like 1/31/2007, 4/30/2007, ...
| startingMonth = 2 corresponds to dates like 2/28/2007, 5/31/2007, ...
| startingMonth = 3 corresponds to dates like 3/30/2007, 6/29/2007, ...
|
| Method resolution order:
| BQuarterEnd
| DateOffset
| CacheableOffset
| builtin.object
|
| Methods defined here:
|
| init(self, n=1, **kwds)
import datetime as dt
d = dt.datetime(2008, 8, 18)
dw = d+ BQuarterEnd(1)
dw
Out[10]: datetime.datetime(2008, 9, 30, 0, 0)
dw = d+ BQuarterEnd(1,2)
TypeError Traceback (most recent call last)
in ()
----> 1 dw = d+ BQuarterEnd(1,2)
TypeError: init() takes at most 2 arguments (3 given)
I am looking for Business quarter end which end APR, and MAY deflaut is JUN, or those three month cycles...