pandas.tseries.offsets.YearEnd.copy#

YearEnd.copy()#

Return a copy of the frequency.

See also

tseries.offsets.Week.copy

Return a copy of Week offset.

tseries.offsets.DateOffset.copy

Return a copy of date offset.

tseries.offsets.MonthEnd.copy

Return a copy of MonthEnd offset.

tseries.offsets.YearBegin.copy

Return a copy of YearBegin offset.

Examples

>>> freq = pd.DateOffset(1)
>>> freq_copy = freq.copy()
>>> freq is freq_copy
False