I have a dataframe which I wish to transfer from python to Neo4j. My dataframe looks like below.
I want the text column to be connected via Next relationship. Something like below.
I know the Cypher query. My requirement is I want the POS column rows attached as a property to each word. Example Node Dog has has POS NOUN so NOUN should be attached as a property to that node and the NEXT relationship should be maintained as shown above.
How can I write the query in python notebook and see the same results in Neo4j graph? Please assist me with the syntax as I am pretty new to Neo4j and Cypher?