def drate(df):
    rate = ((df.compute / (df.syscalls + 1)) / df.dur)
    return df.assign(rate=rate)
def drate(df):
    rate = ((df.compute / (df.syscalls + 1)) / df.dur)
    return df.assign(rate=rate)