PyData Global 2022

Level up you Jupyter Notebooks with VS Code
12-02, 08:00–09:30 (UTC), Workshop/Tutorial I

Visual Studio Code is one of the most popular editors in the Python and data science communities, and the extension ecosystem makes it easy for users to easily customize their workspace for the tools and frameworks they need.
Jupyter notebooks are one such popular tool, and there are some really great features for working in notebooks that can reduce context switching, enable multi-tool workflows, and utilize powerful Python IDE features in notebooks.
This tutorial is geared for all Jupyter Notebook users, who either have interest in or are regularly using VS Code.
Participants will learn how to use some of the best VS Code features for Jupyter Notebooks, as well as a bunch of other tips and tricks to run, visualize and share your notebooks in VS Code.
Some familiarity with Jupyter Notebooks is required, but experience with VS Code is not necessary.
Materials and sample notebooks for the tutorial will be hosted on GitHub, which participants will be able to launch in their browser in the VS Code editor with GitHub Codespaces with no local setup.
Participants will also be encouraged if they have VS Code installed locally that they can open one of their own notebooks and try out the features as we go along.


I have been using both Jupyter Notebooks and VS Code for almost 10 years in a variety of academic and industrial contexts, and love sharing what I have learned along the way.
This tutorial is a collection of the most interesting tools/tips that I have learned or frequently demo to other notebook users in the scientific Python community <3

2 min: Introduction to the topic and speaker
4 min: Introducing a sample notebook project using pandas, matplotlib, and scikit-learn
12 min: Starting up a project in VS Code
5 min: Notebook UI
5 min: Configuring your kernel/where your code is run (local and remote)
2 min: Git is easy(er) with built-in source control in VS Code
20 min: Editing notebooks
8 min: Intellisense code hints/tips
4 min: Keyboard shortcut configuration and code snippet templates
8 min: Documentation + Linting extensions for Python
20 min: Executing Notebooks
6 min: Debugging code in notebooks
6 min: Testing in notebooks
3 min: Interactive widgets in notebooks
3 min: Extensions to help connect to cloud notebook kernels
20 min: Sharing Notebooks
5 min: Comparing notebook changes
5 min: Saving/exporting images and notebooks
10 min: Live Share for group programming + Codespaces
10 min: What's coming next for Notebooks in VS Code
2 min: Wrap-up and where to learn more


Prior Knowledge Expected

Previous knowledge expected

Sarah has spent much of her career developing cutting-edge technologies in the lab with the best lab partner, Python. She can start plasma fires with lasers, image things with diamonds, and detect single photons in space, all controlled remotely by Jupyter Notebooks 💖. She loves communicating what is so exciting about tech by building new open source tools, communities, and writing books for all audiences. When not at her split ergo keyboard, she loves boating in the Seattle area, laser cutting everything, and playing with her dog Chewie.