dataframe将默认索引转换成列 DataFrame 1. 导入pandas库 首先,我们需要导入pandas库来使用其中的DataFrame对象和相关函数。 ```python import pandas as p... 2023-12-09 3700次浏览