Hi.
In this video we will learn how to turn our notebook into our interactive
dashboard using Voila. Voila is a Python package,
which turns our notebook into a dashboard. The best feature is that it, uh,
preserves uh, the functionality of the Jupyter Widgets because it has a running
kernel. Same like the Notebook.
It can turn your notebook into a standalone application.
That means it can sit on a server available via the network on some IP
and a port. Same like the Jupyter app.
Let's install it first
with PIP install vo,
and please install it into the base environment.
It's done.
Now, refresh the notebook.
We see here a new button. Let's click it vo
and this is our VO app.
We see that the code is hidden by default,
and we also see that the Jupyter Widgets are working like in the notebook.
We can serve a directory of notebooks. Let's do it.
We basically put after the slash, after the Port Vo,
we
can go to work directory
and we can open our notebooks as VOA apps.
Now you can imagine that when you combine Jupyter Widgets like Taps
and accordions. With voa,
you can create a very advanced and structured dashboard comparable
to dashboards built with tools like Tableau or Power bi.
In some aspects,
you are even more flexible because you have the choice of choosing the
programming language, plotting libraries,
or the way how you build the backend code to render the elements of your
dashboard and how do you manipulate the data.
In our next video, we will learn how to debug Python code in the notebook.