Pandas DateOffset, Periods and tslib.period_ordinal -
i trying understand relationship in pandas between dateoffset
, periods
, tslib.period_ordinal
.
when create new period using: pd.period("2013-12", freq="q-dec")
, see "q-dec" resolved base
of 2000, base
in addition components of datetime
parsed date string passed tslib.period_ordinal
returns 175.
where if anywhere dateoffset
come in? meaning of base? there docs on period_ordinal?
i looking add new frequencies, such 52–53-week fiscal year (see: https://github.com/pydata/pandas/issues/4511) , wondering start.
Comments
Post a Comment