col_indices = ['Idx {}'.format(x) for x in range(size_col)]
col_values = ['Probability']
columns = col_indices + col_values
df = pd.DataFrame(array, columns=columns)
df[col_values] = df[col_values].astype(float)
Summing rows from a MultiIndex pandas df based on index label