August 2019
Beginner
482 pages
12h 56m
English
The idea behind panel (and Voila) is very simple and appealing: given that we essentially build web pages with our code and charts—the notebooks—we simply convert them into dashboards. The best part of that is that all of the code and every visualization library that can be used in Jupyter can be used in the dashboards; we could even use our existing Altair charts if we wanted. Let's try building something from the same dataset! As with Altair, we'll start with a Jupyter Notebook:
import sqlite3import paramimport panel as pnimport datetime as dtpn.extension()
Now, the panel package is designed to make it extremely easy to build interactive widgets as part of your exploration process. To build an interaction, you just ...