@@ -567,11 +567,11 @@ DateOffset objects
567
567
------------------
568
568
569
569
In the preceding examples, we created DatetimeIndex objects at various
570
- frequencies by passing in frequency strings like 'M', 'W', and 'BM to the
571
- ``freq `` keyword. Under the hood, these frequency strings are being translated
572
- into an instance of pandas ``DateOffset ``, which represents a regular
573
- frequency increment. Specific offset logic like "month", "business day", or
574
- "one hour" is represented in its various subclasses.
570
+ frequencies by passing in :ref: ` frequency strings <timeseries.offset_aliases> `
571
+ like 'M', 'W', and 'BM to the ``freq `` keyword. Under the hood, these frequency
572
+ strings are being translated into an instance of pandas ``DateOffset ``,
573
+ which represents a regular frequency increment. Specific offset logic like
574
+ "month", "business day", or " one hour" is represented in its various subclasses.
575
575
576
576
.. csv-table ::
577
577
:header: "Class name", "Description"
@@ -953,6 +953,9 @@ You can use keyword arguments suported by either ``BusinessHour`` and ``CustomBu
953
953
# Monday is skipped because it's a holiday, business hour starts from 10:00
954
954
dt + bhour_mon * 2
955
955
956
+
957
+ .. _timeseries.offset_aliases :
958
+
956
959
Offset Aliases
957
960
~~~~~~~~~~~~~~
958
961
0 commit comments