Skip to content

Commit 41ad012

Browse files
committed
Add type ignore
1 parent 707b4df commit 41ad012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/window/rolling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def aggregate(self, func=None, *args, **kwargs):
654654
result = ResamplerWindowApply(self, func, args=args, kwargs=kwargs).agg()
655655
if isinstance(result, ABCDataFrame) and relabeling:
656656
result = result.iloc[:, order]
657-
result.columns = columns
657+
result.columns = columns # type: ignore[union-attr]
658658
if result is None:
659659
return self.apply(func, raw=False, args=args, kwargs=kwargs)
660660
return result

0 commit comments

Comments
 (0)