Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik Velayutham authored and vnlitvinov committed Mar 16, 2023
1 parent 37ba230 commit 5239ce1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modin/pandas/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,8 @@ def hist(self):
return self._default_to_pandas(lambda df: df.hist())

def quantile(self, q=0.5, interpolation="linear"):
# TODO: pandas 1.5 now supports numeric_only as an argument
# TODO: handle list-like cases properly
if is_list_like(q):
return self._default_to_pandas(
lambda df: df.quantile(q=q, interpolation=interpolation)
Expand Down

0 comments on commit 5239ce1

Please sign in to comment.