Python 学习笔记 – Python Pandas 行列索引 在dataframe里面分为行索引和列索引。 行索引:index 列索引:columns 我们创建一个最基础的dataframe: df = pd.DataFrame({ 'A': [0, 1, 2], 'B': [3