diff --git a/pandas/core/aggregation.py b/pandas/core/aggregation.py index 891048ae82dfd6..e2374b81ca13ba 100644 --- a/pandas/core/aggregation.py +++ b/pandas/core/aggregation.py @@ -28,10 +28,8 @@ def reconstruct_func( - func: Optional[AggFuncType], **kwargs, -) -> Tuple[ - bool, Optional[AggFuncType], Optional[List[str]], Optional[List[int]], -]: + func: Optional[AggFuncType], **kwargs +) -> Tuple[bool, Optional[AggFuncType], Optional[List[str]], Optional[List[int]]]: """ This is the internal function to reconstruct func given if there is relabeling or not and also normalize the keyword to get new order of columns.