摘要: 1、使用 set_index() 在 Pandas DataFrame 中指定列作为索引2、使用 read_excel 或 read_csv 中的 index_col 参数在 Pandas DataFrame 中将列作为索引 通常,在 Pandas Dataframe 中,我们默认以 0 到对象长度 阅读全文
posted @ 2022-01-12 17:20 豆浆D 阅读(19754) 评论(0) 推荐(0) 编辑