有行索引和列索引 df=DataFrame(np.arange(16).reshape((4,4)),index=['a','b','c','d'],columns=['one','two','three','four']) 1. df Out[14]: one two three four a 0 1 2 3 b 4 5 6 7 c 8 9 10 11 d 12 13 14 15 1. 2. 3. 4. 5. 6. 7. po=df.loc[['a',...