def _compute_inside_group(df):
inside_group = df.copy()<EOL>inside_group['<STR_LIT:type>'] = '<STR_LIT>'<EOL>inside_group['<STR_LIT>'] = inside_group['<STR_LIT:value>'] / inside_group[<EOL>'<STR_LIT>']<EOL>inside_group.drop(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'],<EOL>axis=<NUM_LIT:1>, inplace=True)<EOL>inside_group.rename(columns={'<STR_LIT>': '<STR_LIT:label>'},<EOL>inplace=True)<EOL>return inside_group<EOL>
Compute inside Group
Args:
    df(dataframe):

Returns: Dataframe