pandas.tseries.offsets.Micro.copy#
- Micro.copy()#
Return a copy of the frequency.
This method creates a new instance of the same frequency offset with identical parameters. The returned copy is independent of the original, allowing modifications without affecting the source object.
See also
tseries.offsets.Week.copyReturn a copy of Week offset.
tseries.offsets.DateOffset.copyReturn a copy of date offset.
tseries.offsets.MonthEnd.copyReturn a copy of MonthEnd offset.
tseries.offsets.YearBegin.copyReturn a copy of YearBegin offset.
Examples
>>> freq = pd.DateOffset(1) >>> freq_copy = freq.copy() >>> freq is freq_copy False