python之pandas的基本使用(2)

續 python之pandas模塊的基本使用(1)python 1、排序和排名 排序:sort_index和sort_values函數git 代碼示例:github print 'Series排序' x = Series(range(4), index = ['b', 'a', 'c', 'd']) print x.sort_index() # Series按索引排序 ''' a 1 b
相關文章
相關標籤/搜索