graph.run('''LOAD CSV WITH HEADERS FROM "file:///./hero66666.csv" AS data
MERGE(label:hero{name:data['name'],skill_passive:data['skill_passive'],skill_1:data['skill_1'],skill_1_cooling:data['skill_1_cooling'],skill_1_cost:data['skill_1_cost'],skill_2:data['skill_2'],skill_2_cost:data['skill_2_cost'])
如果 是 file:D://weather//wangzherongyao//hero66666.csv 就会报 URI is not hierarchical 错误
应该是 file:///
接下来 会报 External Resource Failed: Couldn't load the external resource at: file:/D:/BaiduNetdiskDownload/neo4j-community-3.3.7-windows/neo4j-community-3.3.7/import/weather/wangzherongyao/hero66666.csv
它的 默认路径是 你的 neo4j下面的 import 文件 所以 你把 数据移动到 import 下面就可以了
因为neo4j是utf-8的,而CSV默认保存是ANSI的,需要用记事本另存为成UTF-8的