def _shape_interface(self, mark, eth, ip, shaping):
        raise NotImplementedError('Subclass should implement this')
Apply function to each column, by group
dataset/ETHPy150Open facebook/augmented-traffic-control/atc/atcd/atcd/AtcdThriftHandlerTask.py/AtcdThriftHandlerTask._shape_interface--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tools/grouputils.py/Grouping.transform_dataframe