Running Jupyter Notebook on Visual Studio Code
How to run and debug your Notebook on Visual Studio Code
If you are in Data Science, then chances are you would have used Jupyter Notebook, and perhaps a code editor like Visual Studio Code (VS Code). Jupyter Notebook allows you to combine both code and markdown into a single canvas that is ideal for documenting, sharing, and debugging your work. However, we often have to keep going back and forth between Jupyter Notebook and VS Code to deploy our code as a working program. Well now you can run everything on VS Code, which is natively supporting Jupyter Notebook .ipynb
as well as Python .py
files!
Table of Content:1. setup Jupyter notebook in VS Code
2. basic functions
3. connect to remote Jupyter server (eg. cloud server)
4. inspect variables
Do subscribe to my email newsletter where I regularly summarize programming tips and AI research papers in plain English and beautiful visualization.
Setup
Before anything, ensure that you have the following installed on your computer