working ipynb notebook, completed pca data flow