Skip to content

Instantly share code, notes, and snippets.

@zhaluza
Last active September 8, 2022 03:00
Show Gist options
  • Save zhaluza/ba716f284c0aa56edd1694f36ad8b1c1 to your computer and use it in GitHub Desktop.
Save zhaluza/ba716f284c0aa56edd1694f36ad8b1c1 to your computer and use it in GitHub Desktop.
Shortcuts for Jupyter notebooks in VS Code

Working with environments

Create Conda environment from scratch: conda create -n [name] python=[version]

Create Conda environment from requirements in existing .yml file: conda env create -f [filename]

Activate Conda environment: conda activate [environment-name]

Export environment settings to YML file: conda env export > env.yml

Install package: conda install [package]

Uninstall package: conda uninstall [package]

Formatting / Prettifying

Auto-format code cell: Option-Shift-F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment