Play, query, and visualize NebulaGraph magic within Jupyter Notebook!
10K+
Experience it directly on Google Colab:
jupyter_nebulagraph (previously known as ipython-ngql) is a Python package designed to facilitate connections to NebulaGraph directly from Jupyter Notebooks or iPython environments. It streamlines the process of creating, debugging, and sharing Jupyter Notebooks that interact with NebulaGraph, enhancing collaborative efforts.
For a more comprehensive guide on how to get started with jupyter_nebulagraph, please refer to the Get Started Guide. This guide provides step-by-step instructions on installation, connecting to NebulaGraph, making queries, and visualizing query results, making it easier for new users to get up and running.
| Feature | Cheat Sheet | Example | Command Documentation |
|---|---|---|---|
| Connect | %ngql --address 127.0.0.1 --port 9669 --user user --password password | Connect | %ngql |
| Load Data from CSV | %ng_load --source actor.csv --tag player --vid 0 --props 1:name,2:age --space basketballplayer | Load Data | %ng_load |
| Query Execution | %ngql MATCH p=(v:player{name:"Tim Duncan"})-->(v2:player) RETURN p; | Query Execution | %ngql or %%ngql(multi-line) |
| Result Visualization | %ng_draw | Draw Graph | %ng_draw |
| Draw Schema | %ng_draw_schema | Draw Schema | %ng_draw_schema |
| Tweak Query Result | df = _ to get last query result as pd.dataframe or ResultSet | Tweak Result | Configure ngql_result_style |
Content type
Image
Digest
sha256:58ac387b2…
Size
546.1 MB
Last updated
about 2 years ago
docker pull weygu/nebulagraph-jupyter