Learning_Python_Pandas

排名和排序

>> obj = Series(range(4),index=['d','a','b','c'])
>> obj.sort_index()
a    1
b    2
c    3
d    0
dtype: int64
obj.sort_index(by="",)
posted @ 2018-07-10 12:37  拿糖换媳妇  阅读(94)  评论(0)    收藏  举报