def cast_until(self, start, increment, predicate):
        coord = start
        end = self._storage_to_local(self.br)
        def in_range(coord):
            return (coord.x < end.x and coord.y < end.y)
        while in_range(coord) and not predicate(self, coord):
            coord += increment
        if in_range(coord):
            return coord
        else:
            raise ValueError("Coordinate matching predicate not found.")
Wrapper to ohe_hot_encoder that takes a pandas dataframe and performs
dataset/ETHPy150Open adurdin/platformgen/tilemap.py/TileMap.cast_until--crossover with--dataset/ETHPy150Open theusual/kaggle-seeclickfix-ensemble/Miroslaw/data_transforms.py/columnOHE