def acolex (a,indices,axis=1):
        if type(indices) not in [ListType,TupleType,N.ndarray]:
            indices = [indices]
        if len(N.shape(a)) == 1:
            cols = N.resize(a,[a.shape[0],1])
        else:
            cols = N.take(a,indices,axis)
        return cols
Extracts specified indices (a list) from passed array, along passed
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/statlib/pstat.py/acolex