def run2chain(sa, runs):
    df = runs.apply((lambda run: first_block(sa, run).iloc[0][['blockHeight', 'blockTime', 'chain']]), axis=1)
    return df
def run2chain(sa, runs):
    df = runs.apply((lambda run: first_block(sa, run).iloc[0][['blockHeight', 'blockTime', 'chain']]), axis=1)
    return df