Following the Citation network example in the book Neo4j_Graph_Algorithms.. The dataset has been loaded to the newly created database ml1 : see the screenshot
Then try to run the code from the terminal
graph = Graph("bolt://localhost:7687", auth=("neo4j", "neo"))
query = """
RETURN article.year AS year, count(*) AS count ORDER BY year
by_year = graph.run(query).to_data_frame()
The error occur (what it says is that it couldn't find the corresponding column)
Did I do something wrong when connecting to the database? (It worked fine for previous toy examples.)