Course

Analyze Graph Data with Python

Workshop: analyze graphs in Python with the GDS client and Aura Graph Analytics. Run PageRank, Louvain, FastRP embeddings, and pathfinding at scale.

4 hours13 lessons across 2 modules
About this workshop

In this 4-hour workshop, you will learn

Analyze Graph Data with Python is the companion course to an instructor-led GraphAcademy workshop. Over roughly four hours, you move Go to glossary for graph data science (opens in a new tab)Analysing data through the structure of its connections. Also the name of the Neo4j library that implements it. out of Neo4j Browser and into Python: running Full definition for centrality (opens in a new tab)How important a node is within a graph. Each centrality algorithm defines importance differently., Full definition for community detection (opens in a new tab)A family of algorithms that group nodes by how they connect. Each algorithm defines a community differently., and Full definition for embedding (opens in a new tab)Information represented as a numerical vector, positioned so that similar information sits close together. algorithms on a citation network with the GDS Python client, then scaling up to Full definition for pathfinding (opens in a new tab)A family of algorithms that find routes through a graph. What counts as the best route differs by algorithm. on a logistics dataset with Go to glossary for Aura Graph Analytics (opens in a new tab)The Aura service that runs graph algorithms in a separate session, with no plugin to install..

The premise is simple: most real-world data science happens in Python. The Graph Data Science (GDS) Python client wraps the same algorithms and the same project-run-write workflow you already know in a Pythonic interface that returns Pandas DataFrames, so your graph analytics results flow straight into the rest of your data science stack. Aura Graph Analytics then removes the infrastructure question entirely, running those algorithms in on-demand, session-based compute.

  • GDS Python Client

    Install and configure the GDS Python client to connect to Neo4j and run graph algorithms programmatically from a Python environment.

  • Aura Graph Analytics

    Use Neo4j Aura Graph Analytics to execute graph algorithms at scale without managing a dedicated GDS server or local infrastructure.

  • PageRank

    Apply the PageRank algorithm to identify the most influential nodes in a graph and interpret the resulting scores for real-world datasets.

  • Betweenness Centrality

    Compute betweenness centrality to discover nodes that act as critical bridges in a network and understand their role in information flow.

  • FastRP

    Generate node embeddings with FastRP to represent graph structure as numerical vectors, enabling downstream machine learning tasks.

Before you start

What you need to take part.

  • A GraphAcademy account

    The workshop is delivered here on GraphAcademy, so you need to be signed in to work through the lessons and keep your progress. Creating an account is free.

    Sign in or create an account

  • A GitHub account, or Git on your own machine

    You write code against the workshop-gds-python-aga repository. The quickest route is a GitHub Codespace, an online editor that clones the code and installs everything for you — that needs a GitHub account.

    If you would rather work locally, clone the repository with Git and run it in your own editor instead. No GitHub account is needed for that.