@@ -12,10 +12,10 @@ https://github.com/neo4j/graph-data-science-client/blob/main/examples/graph-anal
1212in the Neo4j Graph Data Science Client Github repository.
1313
1414The notebook shows how to use the `graphdatascience` Python library to
15- create, manage, and use a GDS Session.
15+ create, manage, and use an Aura Graph Analytics (AGA) Session.
1616
1717We consider a graph of people and fruits, which we’re using as a simple
18- example to show how to load data from Pandas `DataFrame` to a GDS
18+ example to show how to load data from Pandas `DataFrame` to an AGA
1919Session, run algorithms, and inspect the results. We will cover all
2020management operations: creation, listing, and deletion.
2121
@@ -138,13 +138,15 @@ gds_sessions = sessions.list()
138138DataFrame(gds_sessions)
139139----
140140
141- == Adding a dataset
141+ == Projecting a dataset
142142
143- We assume that the configured Neo4j database instance is empty. We will
144- add our dataset using standard Cypher.
143+ AGA sessions always start empty, with no data. So our first step will be
144+ to project data into the session. In this example, we will illustrate
145+ how to do this using Pandas DataFrames.
145146
146- In a more realistic scenario, this step is already done, and we would
147- just connect to the existing database.
147+ Many systems offer ways to read data into Pandas DataFrames, enabling
148+ these systems to be used as data sources for AGA. For simplicity, we
149+ will define the DataFrames used in this notebook by hand.
148150
149151[source, python, role=no-test]
150152----
@@ -185,9 +187,12 @@ knows_df["relationshipType"] = "KNOWS"
185187
186188== Construct Graph from DataFrames
187189
188- Now that we have imported a graph to our database, we create graphs
189- directly from pandas `DataFrame` objects. We do that by using the
190- `gds.graph.construct()` method.
190+ With DataFrames in hand, the next step is to build a graph from them. We
191+ do that by using the `gds.graph.construct()` function.
192+
193+ After calling this function, we will get a Graph Object back,
194+ representing the graph that now exists within the AGA session. We will
195+ use it as input to the various algorithms that we will run on the graph.
191196
192197[source, python, role=no-test]
193198----
0 commit comments