To access the index in this case you access the name attribute: In [182]: df = pd.DataFrame([[1, 2, 3], [4, 5, 6]], columns=['a', 'b', ...
確定! 回上一頁