df = DataFrame(randn(100000, 3), columns=list('ABC'))
df['one'] = 'foo'
df['two'] = 'bar'
df.ix[50000:, ('two')] = 'bah'
mi = df.set_index(['one', 'two'])
mi
Pandas HDFStore of MultiIndex DataFrames: how to efficiently get all indexes