def permute(self, ba):
        c = ba.copy()
        for i in xrange(len(self.mapping)):
            ba[i] = c[self.mapping[i]]
        return ba
Write a compressed (gzipped) file from `path`.
dataset/ETHPy150Open pixelogik/NearPy/nearpy/hashes/permutation/permute.py/Permute.permute--crossover with--dataset/ETHPy150Open quantopian/zipline/zipline/testing/core.py/read_compressed