通过from_tuple或from_arrays
① 直接从元组列表创建多重索引
tuples = [('A','a'),('A','b'),('B','a'),('B','b')]
mul_index...通过from_product
笛卡尔乘积---可能很多时候并不需要用笛卡儿积的所有结果作为索引。...,相当于将两个list做笛卡尔乘积--这说明两个列表并不需要长度相等。...df_using_mul.sort_index().loc[list_product(['C_2','C_3'], ['street_4','street_7']),:]
传入两个不等长的list的笛卡尔乘积...,表示的是前边的从B开始的切片。