Lines Matching refs:columnlist
349 def linexand(listoflists, columnlist, valuelist): argument
358 if type(columnlist) not in [ListType, TupleType]:
359 columnlist = [columnlist]
363 for i in range(len(columnlist)):
368 criterion = criterion + ' x[' + str(columnlist[
376 def linexor(listoflists, columnlist, valuelist): argument
387 if type(columnlist) not in [ListType, TupleType]:
388 columnlist = [columnlist]
392 if len(columnlist) == 1 and len(valuelist) > 1:
393 columnlist = columnlist * len(valuelist)
394 for i in range(len(columnlist)): # build an exec string
399 criterion = criterion + ' x[' + str(columnlist[i]) + ']==' + critval + ' or'
875 def alinexand(a, columnlist, valuelist): argument
883 if type(columnlist) not in [ListType, TupleType, N.ndarray]:
884 columnlist = [columnlist]
888 for i in range(len(columnlist)):
893 criterion = criterion + ' x[' + str(columnlist[
898 def alinexor(a, columnlist, valuelist): argument
909 if type(columnlist) not in [ListType, TupleType, N.ndarray]:
910 columnlist = [columnlist]
914 if len(columnlist) == 1 and len(valuelist) > 1:
915 columnlist = columnlist * len(valuelist)
916 elif len(valuelist) == 1 and len(columnlist) > 1:
917 valuelist = valuelist * len(columnlist)
918 for i in range(len(columnlist)):
923 criterion = criterion + ' x[' + str(columnlist[