I have a large for loop calculating many variables that ultimately I would like to store in a a Pandas multiindex dataframe. Each step of the loop, I need to write to a slice of