export notebook to html

31 views
Skip to first unread message

Guy Przytula

unread,
Apr 10, 2020, 5:42:07 AM4/10/20
to Project Jupyter
I have a notebook with sql commands and plot commands
when using nbconvert  :
ubuntu@ubuntu:/data/jupyter$ /Software/Anaconda/bin/jupyter nbconvert --execute --to html DB2_HEALTCHECK.ipynb
[NbConvertApp] Converting notebook DB2_HEALTCHECK.ipynb to html
[NbConvertApp] Executing notebook with kernel: python3
[NbConvertApp] Writing 467844 bytes to DB2_HEALTCHECK.html
The data from sql commands is not included
only the cells that are tagged as initialyse and running when opening notebook are present/with output
the plots are also included - but the sql data is not
is there an option to specify to execute all cells or do we need to tag all cells as automated run..
thanks for  all info
Best regards, Guy

Luciano Resende

unread,
Apr 10, 2020, 10:47:18 AM4/10/20
to jup...@googlegroups.com
When you execute via the Notebook ui, do you get a different behavior where “the SQL data” is there?

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/9ac900b0-79fd-484e-a52b-585015bd4401%40googlegroups.com.
--
Sent from my Mobile device

Guy Przytula

unread,
Apr 10, 2020, 12:22:05 PM4/10/20
to Project Jupyter
thanks for the update
if i use the ui, the run of db2 the import is done and the connect is done (by nbextension initialzed)
the other have to be executed by - execute all below
then you see all data in grid format
best regards, Guy
Reply all
Reply to author
Forward
0 new messages