assignment to df.loc[idx] MultiIndex index by integer index slicing this subsetting supersedes related documentation described in pandas docs subsetting hierarchical indexing fancy indexing index http://pandas.pydata.org/pandas-docs/stable/indexing.html Hierarchical get_level_values index slicing fancy indexing MultiIndex Hierarchical http://pandas.pydata.org/pandas-docs/stable/indexing.html