Skip to content

Commit

Permalink
Fix resample.size [UPSTREAM] (modin-project#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Krishna <[email protected]>
  • Loading branch information
naren-ponder authored and mvashishtha committed May 19, 2023
1 parent 7600b8b commit 1e203d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modin/pandas/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ def prod(self, _method="prod", *args, **kwargs):
)

def size(self, _method="size"):
return self._dataframe.__constructor__(
from .series import Series

return Series(
query_compiler=self._query_compiler.resample_size(
self.resample_kwargs, None, None
)
Expand Down

0 comments on commit 1e203d7

Please sign in to comment.