Skip to content

Commit c2f0659

Browse files
authored
DOC: Fix typo in resample.py, "as_freq" (#56407)
Fix typo in resample.py, "as_freq"
1 parent 46c8da3 commit c2f0659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/resample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ def interpolate(
10611061
2023-03-01 07:00:04.000 3.0
10621062
Freq: 500ms, dtype: float64
10631063
1064-
Internal reindexing with ``as_freq()`` prior to interpolation leads to
1064+
Internal reindexing with ``asfreq()`` prior to interpolation leads to
10651065
an interpolated timeseries on the basis the reindexed timestamps (anchors).
10661066
Since not all datapoints from original series become anchors,
10671067
it can lead to misleading interpolation results as in the following example:

0 commit comments

Comments
 (0)