Skip to content

Commit dc79369

Browse files
committed
Apply loffset when aggregating, e.g. using count()
1 parent 15aadb9 commit dc79369

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tseries/resample.py

+2
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ def _groupby_and_aggregate(self, grouper, how, *args, **kwargs):
372372
# try to evaluate
373373
result = grouped.apply(how, *args, **kwargs)
374374

375+
result = self._apply_loffset(result)
376+
375377
return self._wrap_result(result)
376378

377379
def _apply_loffset(self, result):

0 commit comments

Comments
 (0)