I am trying to import a function from an existing Jupyter notebook to a new notebook. Both the notebooks are saved in a virtual environment that I have been working on. The command that I am trying to execute in the new notebook is as follows:
from Probability.ipynb import norm_cdf
Probability = old notebook
norm_cdf = function name
I am getting the error below:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-9659a841148e> in <module>
----> 1 from Probability.ipynb import norm_cdf
ModuleNotFoundError: No module named 'Probability'
Thanks in advance for your help!