Skip to content

Commit 24190fd

Browse files
DOC: fix RT03,SA01 for pandas.period_range (#59958)
1 parent aea1643 commit 24190fd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
184184
-i "pandas.io.stata.StataReader.variable_labels RT03,SA01" \
185185
-i "pandas.io.stata.StataWriter.write_file SA01" \
186186
-i "pandas.json_normalize RT03,SA01" \
187-
-i "pandas.period_range RT03,SA01" \
188187
-i "pandas.plotting.andrews_curves RT03,SA01" \
189188
-i "pandas.plotting.lag_plot RT03,SA01" \
190189
-i "pandas.plotting.scatter_matrix PR07,SA01" \

pandas/core/indexes/period.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,14 @@ def period_range(
563563
Returns
564564
-------
565565
PeriodIndex
566+
A PeriodIndex of fixed frequency periods.
567+
568+
See Also
569+
--------
570+
date_range : Returns a fixed frequency DatetimeIndex.
571+
Period : Represents a period of time.
572+
PeriodIndex : Immutable ndarray holding ordinal values indicating regular periods
573+
in time.
566574
567575
Notes
568576
-----

0 commit comments

Comments
 (0)