Skip to content

Commit 55ec3a1

Browse files
author
Rehan Durrani
committed
Fix naming
Signed-off-by: Rehan Durrani <[email protected]>
1 parent d2c7295 commit 55ec3a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modin/pandas/dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ def groupby(
428428
# We don't need to check if `by` is a Series or Index, since those
429429
# won't be referencing labels
430430
if not isinstance(by, (pandas.Series, Series, pandas.Index)):
431-
_by_check = by if is_list_like(by) else [by]
432-
for k in _by_check:
431+
_by_list = by if is_list_like(by) else [by]
432+
for k in _by_list:
433433
if not isinstance(k, (Series, pandas.Series, pandas.Index)):
434434
if k in self.index.names and k in self.axes[axis ^ 1]:
435435
level_name, index_name = "an index", "a column"

0 commit comments

Comments
 (0)