Skip to content

Commit 6bd7d3b

Browse files
committed
Fixed typo in resample.py
1 parent 874e5a3 commit 6bd7d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tseries/resample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def _resample_timestamps(self, kind=None):
329329
raise Exception("Value of base must be between 0 and {freq}, got "
330330
"{base} instead".format(freq=self.freq.n, base=self.base))
331331

332-
result.index = result.index.shift(self.base, type(self.freq)(1))
332+
result.index = result.index.shift(self.base, freq = type(self.freq)(1))
333333

334334
return result
335335

0 commit comments

Comments
 (0)