ret2.loc[ret2['INNERCODE'].map(lambda x:x[0]=='6' or x[0]=='3' or x[0]=='0' ),:]和matlab不一样的风格 - -直接用filter更方便ret2 = filter(lambda x:x[0]=='6' or x[0]=='3' and x[0]=='0',ret)用好map , filter, reducepandas,numpy,list要分清楚pandas有.map.filter没有iterlist直接用map
http://blog.csdn.net/keyrainie/article/details/8513802 http://www.cnblogs.com/qq4004229/archive/2012/05/28/2521611.html http://www.cnblogs.com/zeroone/p/4176887.html using System; using System.Collections.Generic; using System.ComponentModel; using S