add return type

pull/85/head
wakamezake 2020-09-07 12:35:37 +09:00
parent 349c9e0681
commit f20e394021
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
from types import LambdaType, FunctionType from types import LambdaType, FunctionType
from typing import List, Callable, Union from typing import List, Callable, Union, Tuple
import pandas as pd import pandas as pd
from pandas.core.common import get_callable_name from pandas.core.common import get_callable_name
@ -58,7 +58,7 @@ def aggregation(
group_key: str, group_key: str,
group_values: List[str], group_values: List[str],
agg_methods: List[Union[str, FunctionType]], agg_methods: List[Union[str, FunctionType]],
): ) -> Tuple[pd.DataFrame, List[str]]:
""" """
Aggregate values after grouping table rows by a given key. Aggregate values after grouping table rows by a given key.