i = 0, 1, 2
idx = pd.MultiIndex.from_tuples(list(itertools.product(a, i)), names=(
    'Alpha', 'Int'))
df = pd.DataFrame(np.random.randn(len(idx), 7), index=idx, columns=('I',
    'II', 'III', 'IV', 'V', 'VI', 'VII'))
print(df)
store = pd.HDFStore('/home/Jian/Downloads/temp.h5')
store.append('df_mask', df)
store.select('df_mask', columns=['Alpha', 'Int'])
HDF + pandas: how can I use a where mask with multindex?