Skip to content

Commit

Permalink
FEAT-modin-project#3303: Remove unnecessary elements
Browse files Browse the repository at this point in the history
Signed-off-by: Maria Rubtsova <maria.rubtsova@intel.com>
  • Loading branch information
Rubtsowa committed Nov 23, 2021
1 parent 03f78f9 commit 1efafca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modin/pandas/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3211,7 +3211,7 @@ def indices(self):
)

def get_group(self, name, obj=None):
if list(self.resample_args)[1] == 0:
if self.resample_args[1] == 0:
result = self.__groups.get_group(name)
else:
result = self.__groups.get_group(name).T
Expand Down Expand Up @@ -3446,7 +3446,7 @@ def ohlc(self, _method="ohlc", *args, **kwargs):
)

def prod(self, _method="prod", min_count=0, *args, **kwargs):
if list(self.resample_args)[1] == 0:
if self.resample_args[1] == 0:
result = self.__groups.prod(min_count=min_count, *args, **kwargs)
else:
result = self.__groups.prod(min_count=min_count, *args, **kwargs).T
Expand Down Expand Up @@ -3477,7 +3477,7 @@ def std(self, ddof=1, *args, **kwargs):
)

def sum(self, _method="sum", min_count=0, *args, **kwargs):
if list(self.resample_args)[1] == 0:
if self.resample_args[1] == 0:
result = self.__groups.sum(min_count=min_count, *args, **kwargs)
else:
result = self.__groups.sum(min_count=min_count, *args, **kwargs).T
Expand Down

0 comments on commit 1efafca

Please sign in to comment.