Hackweek project 2019: Dataframes to React.
Create charts that can be displayed using the same React components both in Jupyter and in a standalone application.
- Create
Pages withScatterplots,Titles, and more. p2p.show([mypage])to render in Jupyter using React components.p2p.publish([mypage])to publish to and render in a standalone app using the same React components.
-
Install
dockeranddocker-compose. -
Build and start the stack. If the make fails, run
docker system prune -fto free up allocated docker disk space.make all
-
View the stack.
App URL Frontend http://localhost/ Backend API http://localhost/api/ Swagger UI http://localhost/swagger/ Jupyter http://localhost:8888/ -
Navigate to Jupyter in your browser.
-
Open the
pandastoproduction.ipynbnotebook, which showcases thepandastoproduction(orp2p) Python library. -
Run every step in the notebook.
p2p.show(...)will render the pages in the Jupyter notebook.p2p.publish(...)will store the pages in a remote site (localhost) for viewing outside of Jupyter.
-
Navigate to the published page in your browser to view it outside of Jupyter.