Here a docker compose to test
version: '3.4'
volumes:
pg_vol:
driver: local
my_vol:
""" | |
Usage: python remove_output.py notebook.ipynb [ > without_output.ipynb ] | |
Modified from remove_output by Minrk | |
""" | |
import sys | |
import io | |
import os | |
from IPython.nbformat.current import read, write |
import pandas as pd | |
dates = pd.date_range("2020-01-01", "2020-01-10", freq="1D", tz="UTC") | |
df = pd.DataFrame( | |
[ | |
{"state": "virginia", "count": 4}, | |
{"state": "virginia", "count": 5}, |
Here a docker compose to test
version: '3.4'
volumes:
pg_vol:
driver: local
my_vol:
To authenticate with aws
using the correct profile, I use aws-vault
. Feel free to remove that and use whatever aws authentication mechanism is relevant for you.
~/.ssh/authorized_keys
on the instanceAWS_VAULT_PROFILE=my-profile
EC2_INSTANCE=i-abcabcabc