Skip to content

Instantly share code, notes, and snippets.

View astewart-twist's full-sized avatar

Andrew Stewart astewart-twist

View GitHub Profile
@astewart-twist
astewart-twist / nteract-tricks.md
Created February 6, 2019 20:19 — forked from vhoulbreque/nteract-tricks.md
Make conda environments visible in nteract

Nteract tricks

To add a conda environment to the list of environments:

$ source activate thisenv
(thisenv) $ pip install ipykernel
(thisenv) $ python -m ipykernel install --user --name thisenv
# see also https://github.com/wrobstory/pgshift
import gzip
from io import StringIO, BytesIO
from functools import wraps
import boto
from sqlalchemy import MetaData
from pandas import DataFrame
from pandas.io.sql import SQLTable, pandasSQL_builder