mars.dataframe.groupby.GroupBy.apply

GroupBy.apply(func, *args, dtypes=None, index=None, output_type=None, **kwargs)