Skip to content

Commit

Permalink
Merge pull request #43 from open-contracting/json-operators-spaces
Browse files Browse the repository at this point in the history
Add section on JSON operators in ipython-sql magics to Troubleshooting
  • Loading branch information
Bjwebb committed May 21, 2021
2 parents a135aeb + 11c4109 commit b989f9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ OCDS Kingfisher Colab |release|
Troubleshooting
---------------

Using Jupyter Notebook
^^^^^^^^^^^^^^^^^^^^^^

If you are using Kingfisher Colab in a Jupyter Notebook (not on Google Colaboratory), you need to:

#. Install the ``google-colab`` package:
Expand All @@ -25,6 +28,13 @@ If you are using Kingfisher Colab in a Jupyter Notebook (not on Google Colaborat
pip install --upgrade ipykernel
Using JSON operators with the %sql magic
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

When using the ipython-sql ``%sql`` line magic, you must avoid spaces around JSON operators.

E.g. ``data->'ocid'`` not ``data -> 'ocid'``

API
---

Expand Down

0 comments on commit b989f9f

Please sign in to comment.