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.

Neo4j through Jupyter Notebook

founder
Node Link

Can someone forward the latest packages and tutorials to work with Neo4j Aura from Jupyter Notebook? Thank you.

2 REPLIES 2

Hi There,

You can use the package called 'neo4jupyter' for viewing neo4j data points via Jupyter Notebook.

Here is the link to code base: GitHub - merqurio/neo4jupyter: A quick visualization tool for Jupyter and Neo4J

Using this code base is super simple and can be grasped within few minutes from its associated documentation.

Best
Ishwarya

founder
Node Link

Thank you, I got error below. How do I do it?

Determine if a variable X is endogeneous for variable Y, if so, return confounders

query = "MATCH p= (x:construct)<-[r1:causes]-(confounder:construct) -[r2:causes]-> (y:construct) <-[r3:causes]- (x:construct)
WHERE x.name ='economic reward' AND y.name ='job performance'
RETURN x.measure, y.measure, confounder.measure LIMIT 50"
graph = graph.run(query)
graph

neo4jupyter.draw(graph, {"construct": "name", "causes": "Reference"})


AttributeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_9436/180580432.py in
----> 1 neo4jupyter.draw(graph, {"construct": "name", "causes": "Reference"})

D:\Anaconda\lib\site-packages\neo4jupyter\neo4jupyter.py in draw(graph, options, physics, limit)
81 """
82
---> 83 data = graph.run(query, limit=limit)
84
85 nodes =

AttributeError: 'Cursor' object has no attribute 'run'