nteract / papermill

📚 Parameterize, execute, and analyze notebooks
http://papermill.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
5.93k stars 426 forks source link

Could Papermill pass an in-memory dataframe to a notebook? #406

Open BKJackson opened 5 years ago

BKJackson commented 5 years ago

Like the title suggests, I'm looking for a way to pass data to a notebook via a Papermill function without having to incorporate read/write statements from/to a database within the notebook. Any thoughts on how Papermill can be configured to do this?

MSeal commented 5 years ago

I'll just link the nbconvert issue as I answered it there before I saw the question here as well: https://github.com/jupyter/nbconvert/issues/1070

e10v commented 1 year ago

Maybe rico could be an alternative solution: https://github.com/e10v/rico It's a Python package for creating HTML documents from rich content: dataframes, plots, images, markdown etc. It provides a high-level, easy-to-use API with reasonable defaults, as well as low-level access for better control.