멀티인덱싱 my_header = ['a','b','c'] my_index_zipped = [('G1', 1), ('G1', 2), ('G1', 3), ('G2', 1), ('G2', 2), ('G2', 3)] my_index = pd.MultiIndex.from_tuples(my_index_zipped) my_index.names = ['Big','Small'] df = pd.DataFrame(data = np.random.randn(6,3), index = my_index, columns = my_header) df ==결과== a b c Big Small G1 1 -1.784733 -2.540311 -0.179349 2 -0.389150 0.800740 -0.320251 3 -1.584385 -0.2..