Skip to content

Commit f6cc860

Browse files
committed
minor doc changes
1 parent 37c24bc commit f6cc860

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

doc/source/api.rst

+9
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,19 @@ Top-level dealing with datetimelike
218218
to_timedelta
219219
date_range
220220
bdate_range
221+
cdate_range
221222
period_range
222223
timedelta_range
223224
infer_freq
224225

226+
Top-level dealing with intervals
227+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228+
229+
.. autosummary::
230+
:toctree: generated/
231+
232+
interval_range
233+
225234
Top-level evaluation
226235
~~~~~~~~~~~~~~~~~~~~
227236

doc/source/whatsnew/v0.21.0.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Furthermore this will now correctly box the results of iteration for :func:`Data
218218
.. ipython:: ipython
219219

220220
d = {'a':[1], 'b':['b']}
221-
df = pd,DataFrame(d)
221+
df = pd.DataFrame(d)
222222

223223
Previously:
224224

@@ -363,7 +363,7 @@ Additionally, DataFrames with datetime columns that were parsed by :func:`read_s
363363
Consistency of Range Functions
364364
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
365365

366-
In previous versions, there were some inconsistencies between the various range functions: ``date_range``, ``bdate_range``, ``cdate_range``, ``interval_range``, ``period_range``, and ``timedelta_range``. (:issue:`17471`).
366+
In previous versions, there were some inconsistencies between the various range functions: func:`date_range`, func:`bdate_range`, func:`cdate_range`, func:`period_range`, func:`timedelta_range`, and func:`interval_range`. (:issue:`17471`).
367367

368368
One of the inconsistent behaviors occurred when the ``start``, ``end`` and ``period`` parameters were all specified, potentially leading to ambiguous ranges. When all three parameters were passed, ``interval_range`` ignored the ``period`` parameter, ``period_range`` ignored the ``end`` parameter, and the other range functions raised. To promote consistency among the range functions, and avoid potentially ambiguous ranges, ``interval_range`` and ``period_range`` will now raise when all three parameters are passed.
369369

0 commit comments

Comments
 (0)