The Neo4j Graph Data Science Client Library Manual v1.3

© 2022

To help users of the Neo4j Graph Data Science library who work with Python as their primary language and environment, there is an official GDS client package called graphdatascience. It enables users to write pure Python code to project graphs, run algorithms, and define and use machine learning pipelines in GDS. To avoid naming confusion with the server-side GDS library, we will here refer to the Neo4j Graph Data Science client as the Python client.

The Python client API is designed to mimic the GDS Cypher procedure API in Python code. It wraps and abstracts the necessary operations of the Neo4j Python driver to offer a simpler surface. Except for those listed in Known limitations, every operation of the GDS Cypher API should be represented in the Python client API. For a high level explanation of how the Cypher API maps to the Python client API please see Mapping between Cypher and Python.

This manual is divided into the following chapters:

The source code of the library is available at GitHub. If you have a suggestion on how we can improve the library or want to report a problem, you can create a new issue.