We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ad26c6 commit d7ce2ceCopy full SHA for d7ce2ce
pandas/core/resample.py
@@ -1039,15 +1039,15 @@ def interpolate(
1039
2023-03-01 07:00:04 3
1040
Freq: s, dtype: int64
1041
1042
- Upsample the dataframe to 0.5Hz by providing the period time of 2s.
+ Downsample the dataframe to 0.5Hz by providing the period time of 2s.
1043
1044
>>> series.resample("2s").interpolate("linear")
1045
2023-03-01 07:00:00 1
1046
2023-03-01 07:00:02 2
1047
1048
Freq: 2s, dtype: int64
1049
1050
- Downsample the dataframe to 2Hz by providing the period time of 500ms.
+ Upsample the dataframe to 2Hz by providing the period time of 500ms.
1051
1052
>>> series.resample("500ms").interpolate("linear")
1053
2023-03-01 07:00:00.000 1.0
0 commit comments