Skip to content

Commit dc81075

Browse files
CLN: Apply suggestions from code review
Co-authored-by: Marco Gorelli <[email protected]>
1 parent e78a415 commit dc81075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7535,12 +7535,12 @@ def asfreq(
75357535
75367536
If the index of this {klass} is a :class:`~pandas.PeriodIndex`, the new index
75377537
is the result of transforming the original index with
7538-
:meth:`PeriodIndex.asfreq pandas.PeriodIndex.asfreq` (so the original index
7538+
:meth:`PeriodIndex.asfreq <pandas.PeriodIndex.asfreq>` (so the original index
75397539
will map one-to-one to the new index).
75407540
75417541
Otherwise, the new index will be equivalent to ``pd.date_range(start, end,
75427542
freq=freq)`` where ``start`` and ``end`` are, respectively, the first and
7543-
last entries in the original index. (see :func:`pandas.date_range`). The
7543+
last entries in the original index (see :func:`pandas.date_range`). The
75447544
values corresponding to any timesteps in the new index which were not present
75457545
in the original index will be null (``NaN``), unless a method for filling
75467546
such unknowns is provided (see the ``method`` parameter below).

0 commit comments

Comments
 (0)