cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Bulk data operations- unable to create note and relationship with py2neo

Hello All, For the following coding, I am receiving an error. Can you help me to solve it? I think the "create_node" should be corrected which is missing in the py2neo.bulk – Bulk data operations — py2neo 2021.1

data = [ (("Alice", "Smith"), [1999], 123), (("Bob", "Jones"), [2002], 124), (("Carol", "Singer"), [1981], 201), ]

create_nodes(g.auto(), data, labels={"Person"})

create_relationships(g.auto(), data, "WORKS_FOR" , start_node_key=("Person", "name", "family name")), keys=["since"])

Thank you for your help.

1 REPLY 1

@faezeh.shahidi.sh Hello!
Most likely you have already resolve out this issue, but if it is relevant, let me know!