Skip to content

Commit 10de71c

Browse files
authored
DOC: Correct inconsistent description on default DateOffset setting (#36516)
* Update timeseries.rst correct inconsistent doc description on default DateOffset setting * Update timeseries.rst remove the example for DateOffset default setting * Update offsets.pyx Change the default setting for DateOffset to a calendar day. * Update test_liboffsets.py add a test for dateoffset default value * Update timeseries.rst change doc to original description * Update test_liboffsets.py resolve PEP 8 issues * Update timeseries.rst * Update test_liboffsets.py * Update offsets.pyx * Change default Offset setting description in DOC * Update timeseries.rst * Update timeseries.rst
1 parent 34ae1cf commit 10de71c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/timeseries.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ into ``freq`` keyword arguments. The available date offsets and associated frequ
879879
:header: "Date Offset", "Frequency String", "Description"
880880
:widths: 15, 15, 65
881881

882-
:class:`~pandas.tseries.offsets.DateOffset`, None, "Generic offset class, defaults to 1 calendar day"
882+
:class:`~pandas.tseries.offsets.DateOffset`, None, "Generic offset class, defaults to absolute 24 hours"
883883
:class:`~pandas.tseries.offsets.BDay` or :class:`~pandas.tseries.offsets.BusinessDay`, ``'B'``,"business day (weekday)"
884884
:class:`~pandas.tseries.offsets.CDay` or :class:`~pandas.tseries.offsets.CustomBusinessDay`, ``'C'``, "custom business day"
885885
:class:`~pandas.tseries.offsets.Week`, ``'W'``, "one week, optionally anchored on a day of the week"

0 commit comments

Comments
 (0)