df.set_index(["Column"], inplace=True)
Python 将DataFrame的某一列作为index
原文:https://www.cnblogs.com/ymsong/p/12323755.html