pandas修改列的顺序

http://www.cnblogs.com/zhoudayang/p/5414020.html

cols = list(ret)
cols.insert(0,cols.pop(cols.index('STKCODE')))
ret = ret.ix[:,cols]
原文地址:https://www.cnblogs.com/ppqchina/p/6248715.html