def slogfile_summary(df):
    g = df.groupby(['slogfile', 'type'])
    out = g[['line']].count()
    out['time_min'] = g[['time']].min().time
    out['time_max'] = g[['time']].max().time
    out['blockHeight_min'] = g[['blockHeight']].min().blockHeight
    out['crankNum_min'] = g[['crankNum']].min().crankNum
    return show_times(out, ['time_min', 'time_max'])
def slogfile_summary(df):
    g = df.groupby(['slogfile', 'type'])
    out = g[['line']].count()
    out['time_min'] = g[['time']].min().time
    out['time_max'] = g[['time']].max().time
    out['blockHeight_min'] = g[['blockHeight']].min().blockHeight
    out['crankNum_min'] = g[['crankNum']].min().crankNum
    return show_times(out, ['time_min', 'time_max'])