While pandas supports both hierarchical rows and columns, writing to HDF is not and it looks like this feature will not be supported anytime soon: pandas-dev/pandas#5823
All datatypes with both multi-index rows and columns should be converted to have columns be a normal index. Hierarchical columns will be represented based on column name only.