Python
How to connect your tukan query to a Python script?
Last updated
How to connect your tukan query to a Python script?
Last updated
Once you've created your query, head over to the queries module, and click on the export button for the query you wish to connect.
Next, select the Python tab and click the Copy link button to copy the query's "connection string" to your clipboard.
This "connection string" is essentially a pandas
read_csv
command to import the query to your script as a DataFrame
.
On you Pyhton script or Jupyter notebook, simply import the following libraries: