Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anatoly Myachev <[email protected]>
  • Loading branch information
noloerino and anmyachev authored Sep 16, 2024
1 parent 9116bbd commit 2418b05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modin/pandas/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def eq(
level=level,
fill_value=fill_value,
axis=axis,
squeeze_other=isinstance(other, (pandas.Series, Series)),
squeeze_other=isinstance(other, Series),
)

def equals(self, other) -> bool: # noqa: PR01, RT01, D200
Expand Down Expand Up @@ -1153,7 +1153,7 @@ def ge(
level=level,
fill_value=fill_value,
axis=axis,
squeeze_other=isinstance(other, (pandas.Series, Series)),
squeeze_other=isinstance(other, Series),
)

def groupby(
Expand Down Expand Up @@ -1208,7 +1208,7 @@ def gt(
level=level,
fill_value=fill_value,
axis=axis,
squeeze_other=isinstance(other, (pandas.Series, Series)),
squeeze_other=isinstance(other, Series),
)

def hist(
Expand Down Expand Up @@ -1333,7 +1333,7 @@ def le(
level=level,
fill_value=fill_value,
axis=axis,
squeeze_other=isinstance(other, (pandas.Series, Series)),
squeeze_other=isinstance(other, Series),
)

def lt(
Expand All @@ -1349,7 +1349,7 @@ def lt(
level=level,
fill_value=fill_value,
axis=axis,
squeeze_other=isinstance(other, (pandas.Series, Series)),
squeeze_other=isinstance(other, Series),
)

def map(self, arg, na_action=None) -> Series: # noqa: PR01, RT01, D200
Expand Down Expand Up @@ -1483,7 +1483,7 @@ def ne(
level=level,
fill_value=fill_value,
axis=axis,
squeeze_other=isinstance(other, (pandas.Series, Series)),
squeeze_other=isinstance(other, Series),
)

def nlargest(self, n=5, keep="first") -> Series: # noqa: PR01, RT01, D200
Expand Down

0 comments on commit 2418b05

Please sign in to comment.