Skip to content

Commit

Permalink
Fix resample.size [UPSTREAM] (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Krishna <naren@ponder.io>
  • Loading branch information
naren-ponder authored Mar 20, 2023
1 parent 29783c3 commit b3fde39
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 @@ -358,7 +358,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 b3fde39

Please sign in to comment.