Skip to content

Commit

Permalink
DOC: fix RT03,SA01 for pandas.period_range (#59958)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinsharma121 authored Oct 5, 2024
1 parent aea1643 commit 24190fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.io.stata.StataReader.variable_labels RT03,SA01" \
-i "pandas.io.stata.StataWriter.write_file SA01" \
-i "pandas.json_normalize RT03,SA01" \
-i "pandas.period_range RT03,SA01" \
-i "pandas.plotting.andrews_curves RT03,SA01" \
-i "pandas.plotting.lag_plot RT03,SA01" \
-i "pandas.plotting.scatter_matrix PR07,SA01" \
Expand Down
8 changes: 8 additions & 0 deletions pandas/core/indexes/period.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,14 @@ def period_range(
Returns
-------
PeriodIndex
A PeriodIndex of fixed frequency periods.
See Also
--------
date_range : Returns a fixed frequency DatetimeIndex.
Period : Represents a period of time.
PeriodIndex : Immutable ndarray holding ordinal values indicating regular periods
in time.
Notes
-----
Expand Down

0 comments on commit 24190fd

Please sign in to comment.