内容来源于 Stack Overflow,遵循 CC BY-SA 4.0 许可协议进行翻译与使用。IT领域专用引擎提供翻译支持
腾讯云小微IT领域专用引擎提供翻译支持
我正在尝试遵循下面的示例
https://nicolewhite.github.io/neo4j-jupyter/hello-world.html
from scripts.vis import draw import neo4jupyter options = {"Person": "name", "Drink": "name", "Manufacturer": "name"} draw(graph, options)
对于这部分代码,我遇到以下错误:
ypeError Traceback (most recent call last) <ipython-input-7-6a87e5426fa3> in <module> 4 options = {"Person": "name", "Drink": "name", "Manufacturer": "name"} ----> 5 draw(graph, options) ~\PycharmProjects\Knowledge_Graph\scripts\vis.py in draw(graph, options, physics, limit) 104 target_id = row[4] --> 106 source_info = get_vis_info(source_node, source_id) 108 if source_info not in nodes: ~\PycharmProjects\Knowledge_Graph\scripts\vis.py in get_vis_info(node, id)