@staticmethod
    def output_okapi_to_pandas(result_data):
        data = {"0": {}, "1": {}}
        okapi_data = result_data.split("\n")
        for line in okapi_data:
            obj_id, obj_type, factors = line.replace("; ", ",").replace("\t", " ").split(" ")
            data[obj_type][obj_id] = eval(factors)
        result = pd.DataFrame(data["0"]), pd.DataFrame(data["1"])
        return result
Operations that involve sharing FK objects across databases raise an error
dataset/ETHPy150Open grafos-ml/test.fm/src/testfm/okapi/connector.py/DynamicOkapiModel.output_okapi_to_pandas--crossover with--dataset/ETHPy150Open django/django/tests/multiple_database/tests.py/QueryTestCase.test_o2o_cross_database_protection