Skip to content

Commit

Permalink
move pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Jan 3, 2024
1 parent 7e0536f commit 6c5e7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -5187,10 +5187,10 @@ def shift(
period = cast(int, period)
if freq is not None or axis != 0:
f = lambda x: x.shift(
period,
period, # pylint: disable=cell-var-from-loop
freq,
axis,
fill_value, # pylint: disable=cell-var-from-loop
fill_value,
)
shifted = self._python_apply_general(
f, self._selected_obj, is_transform=True
Expand Down

0 comments on commit 6c5e7d3

Please sign in to comment.