Head's Up! Site migration is underway. Pause, resolving how to handle anonymous content
β03-08-2022 01:48 PM
Hello everyone,
I want to add relations to my csv file, but I keep on meeting this error,
** File "E:\Anaconda3\lib\site-packages\py2neo\data.py", line 847, in init
Entity.init(self, (n[0], self, n[1]), properties)
File "E:\Anaconda3\lib\site-packages\py2neo\data.py", line 553, in init
Walkable.init(self, iterable)
File "E:\Anaconda3\lib\site-packages\py2neo\data.py", line 453, in init
_ = node.labels # ensure not stale
AttributeError: 'NoneType' object has no attribute 'labels'
Process finished with exit code 1**
I am following this tutorials. GitHub - jm199504/Financial-Knowledge-Graphs: ε°ειθη₯θ―εΎθ°±ζε»Ίζ΅η¨
The related code is this:
matcher = NodeMatcher(graph)
for i in holder.values:
a = matcher.match("θ‘η₯¨",TS代η =i[0]).first()
b = matcher.match("θ‘δΈ",TS代η =i[0])
for j in b:
#r = Relationship(j,'participant',a)
#graph.create(r)
graph.create(Relationship(j,'εθ‘',a))
print('TS',str(i[0]))
β03-09-2022 11:10 AM
can anybody help me?
All the sessions of the conference are now available online