Launch Notebook in a virtualenv

Assumes:

  • You have the nfirs and firecares items setup w/ connection information to nfirs/firecares in your ~/.pg_service.conf

In [ ]:
# Install dependencies

!pip install numpy pandas matplotlib psycopg2

In [6]:
import pandas as pd
import numpy as np
import psycopg2

nfirs = psycopg2.connect(service='nfirs')
firecares = psycopg2.connect(service='firecares')