I'm new to Jupyter notebooks but a python developer, so it seems obvious to me to split my long complex code in different modules, that in this case are notebooks.
I have:
notebook1.ipynb
- In here I import the data, and make data cleaning
- This produces outputs, there are many print functions
notebook2.ipynb
- analysis and charts
As one of the first thing in notebook2 I import the other one:
%run notebook1.ipynb
This will correctly import and run the notebook as well as put all variables in scope. But it will also print everything that was printed from notebook1.
QUESTION: Is there a way to suppress the output of external jupyter notebooks?