dfu['closeScaled'] = dfu.close.div(dfu.groupby(level=0)['open'].transform(
    'first')).round(4)
print(dfu)
Pandas - How to scale a column in a multi-index dataframe to the top row in each level=0 group