Skip to content

Commit

Permalink
Fix typing retry
Browse files Browse the repository at this point in the history
  • Loading branch information
snitish committed Dec 12, 2024
1 parent eebdafb commit 7d552ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/window/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def aggregate(self, func=None, *args, **kwargs):
result = ResamplerWindowApply(self, func, args=args, kwargs=kwargs).agg()
if result is not None and isinstance(result, ABCDataFrame) and relabeling:
result = result.iloc[:, order]
result.columns = columns
result = result.set_axis(columns, axis=1)
if result is None:
return self.apply(func, raw=False, args=args, kwargs=kwargs)
return result
Expand Down

0 comments on commit 7d552ef

Please sign in to comment.