"Efficiently re-indexing one level with ""forward-fill"" in a multi-index dataframe",df1['value'].unstack(0)