You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explore the capabilities of `jupyter_nebulagraph` by trying it on [Google Colab](https://colab.research.google.com/github/wey-gu/jupyter_nebulagraph/blob/main/docs/get_started.ipynb), and the equivalent Jupyter Notebook is available in Docs [here](https://jupyter-nebulagraph.readthedocs.io/en/latest/get_started_docs/).
18
+
```bash
19
+
pip install jupyter_nebulagraph
20
+
```
21
+
22
+
Load the extension in Jupyter Notebook or iPython:
%ngql MATCH p=(v:player)-->(v2:player) WHEREid(v) =="player100"RETURN p;
34
+
```
35
+
36
+
Draw the graph:
37
+
38
+
```python
39
+
%ng_draw
40
+
```
41
+
42
+
Discover the features of `jupyter_nebulagraph` by experimenting with it on [Google Colab](https://colab.research.google.com/github/wey-gu/jupyter_nebulagraph/blob/main/docs/get_started.ipynb). You can also access a similar Jupyter Notebook in the documentation [here](https://jupyter-nebulagraph.readthedocs.io/en/stable/get_started_docs/).
19
43
20
-
For a comprehensive guide, visit the [official documentation](https://jupyter-nebulagraph.readthedocs.io/).
44
+
For a detailed guide, refer to the [official documentation](https://jupyter-nebulagraph.readthedocs.io/en/stable).
| Load Data from CSV |`%ng_load --source actor.csv --tag player --vid 0 --props 1:name,2:age --space basketballplayer`|[Load Data](https://jupyter-nebulagraph.readthedocs.io/en/latest/get_started_docs/#load-data-from-csv)|[`%ng_load`](https://jupyter-nebulagraph.readthedocs.io/en/latest/magic_words/ng_load/)|
26
-
| Query Execution |`%ngql MATCH p=(v:player{name:"Tim Duncan"})-->(v2:player) RETURN p;`|[Query Execution](https://jupyter-nebulagraph.readthedocs.io/en/latest/get_started_docs/#query)|[`%ngql` or `%%ngql`(multi-line)](https://jupyter-nebulagraph.readthedocs.io/en/latest/magic_words/ngql/#make-queries)|
27
-
| Result Visualization |`%ng_draw`|[Draw Graph](https://jupyter-nebulagraph.readthedocs.io/en/latest/magic_words/ng_draw/)|[`%ng_draw`](https://jupyter-nebulagraph.readthedocs.io/en/latest/magic_words/ng_draw/)|
| Tweak Query Result |`df = _` to get last query result as `pd.dataframe` or [`ResultSet`](https://github.com/vesoft-inc/nebula-python/blob/master/nebula3/data/ResultSet.py)|[Tweak Result](https://jupyter-nebulagraph.readthedocs.io/en/latest/get_started_docs/#result-handling)|[Configure `ngql_result_style`](https://jupyter-nebulagraph.readthedocs.io/en/latest/configurations/#configure-ngql_result_style)|
| Load Data from CSV |`%ng_load --source actor.csv --tag player --vid 0 --props 1:name,2:age --space basketballplayer`|[Load Data](https://jupyter-nebulagraph.readthedocs.io/en/stable/get_started_docs/#load-data-from-csv)|[`%ng_load`](https://jupyter-nebulagraph.readthedocs.io/en/stable/magic_words/ng_load/)|
50
+
| Query Execution |`%ngql MATCH p=(v:player{name:"Tim Duncan"})-->(v2:player) RETURN p;`|[Query Execution](https://jupyter-nebulagraph.readthedocs.io/en/stable/get_started_docs/#query)|[`%ngql` or `%%ngql`(multi-line)](https://jupyter-nebulagraph.readthedocs.io/en/stable/magic_words/ngql/#make-queries)|
51
+
| Result Visualization |`%ng_draw`|[Draw Graph](https://jupyter-nebulagraph.readthedocs.io/en/stable/magic_words/ng_draw/)|[`%ng_draw`](https://jupyter-nebulagraph.readthedocs.io/en/stable/magic_words/ng_draw/)|
| Tweak Query Result |`df = _` to get last query result as `pd.dataframe` or [`ResultSet`](https://github.com/vesoft-inc/nebula-python/blob/master/nebula3/data/ResultSet.py)|[Tweak Result](https://jupyter-nebulagraph.readthedocs.io/en/stable/get_started_docs/#result-handling)|[Configure `ngql_result_style`](https://jupyter-nebulagraph.readthedocs.io/en/stable/configurations/#configure-ngql_result_style)|
0 commit comments