如何创建字符串索引而不是数据帧中的数字?我想从dataframe列中的内容创建唯一的行标识符,以代替索引列 例如 import pandas as pd from pprint import pprint df = pd.DataFram ...2024-07-07 已阅读: n次