How can I import code and markdown cells from Python to Jupyter notebook?
Have used 'p2j' to convert python file (.py) to ipython notebook file (.ipynb).
Try using the below steps:
- pip install p2j
- p2j your_python_file.py
For more details, refer https://github.com/raibosome/python2jupyter
Hope this helps.