Example Source Code

Dear Team,

I am new to the forum, and have been trying to move our use of Panel at my firm. I think the examples are amazing. The one I was looking for the source code for was the portfolio-optimizer.pyviz example. The notebook I found only had a link to the app, and I have a need to run inside a JupyterLab notebook.

Any help finding a notebook version would be appreciated as this is exactly the template I need.

Many thanks in advance, and I hope everyone is safe and healthy in this crazy time.

Regards,
Tom

Hi @pologrut,

There is Download this project button at the top of the example page. It’ll download a .zip file that contains the notebook.

Is that what you were looking for?

Cheers

1 Like

Hi yes that is it! The code in the .py file when pasted in my notebook didnt work, but seems some numerical errors. Ill read through it as I was mostly looking at the panel parts not the the optimizer.