def to_json(self, path, root_array=True, mode=CSV_WRITE_MODE):
        with builtins.open(path, mode=mode) as output:
            if root_array:
                json.dump(self.to_list(), output)
            else:
                json.dump(self.to_dict(), output)
Return whether the index is out of bounds.
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.to_json--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/listobj.py/_ListPayloadMixin.is_out_of_bounds