🌈 搜索
📅  最后修改于: 2022-03-11 14:45:22.475000             🧑  作者: Mango
>>> df.rename(index={0: "x", 1: "y", 2: "z"}) A B x 1 4 y 2 5 z 3 6