摘要: import pandas as pd import pprint as p # 嵌套列表 arrays = [['a', 'a', 'b', 'b'], [1, 2, 1, 2]] # 创建 MultiIndex index = pd.MultiIndex.from_arrays(arrays, 阅读全文
posted @ 2024-05-23 16:52 C余L小R鱼 阅读(165) 评论(0) 推荐(0) 编辑