-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
# Jupyter Lab Cheat Sheet for VS Code on Windows | ||
|
||
## General Shortcuts | ||
- **Open Command Palette**: `Ctrl + Shift + P` | ||
- **Save Notebook**: `Ctrl + S` | ||
- **Open New Terminal**: `Ctrl + Shift + `` | ||
|
||
## Jupyter Notebook Shortcuts | ||
- **Run All Cells**: `Shift + Alt + F` | ||
- **Run Current Cell**: `Ctrl + Enter` | ||
- **Run Current Cell and Select Below**: `Shift + Enter` | ||
- **Run Cell and All Below**: `Shift + Alt + Enter` | ||
- **Run Cell and Insert Below**: `Alt + Enter` | ||
- **Add New Cell Above**: `Esc` then `A` | ||
- **Add New Cell Below**: `Esc` then `B` | ||
- **Change Cell to Code**: `Esc` then `Y` | ||
- **Change Cell to Markdown**: `Esc` then `M` | ||
- **Delete Current Cell**: `Esc` then `D D` (press D twice) | ||
- **Interrupt Kernel**: `I, I` (press `I` twice quickly, when in command mode) | ||
- **Restart Kernel**: Use Command Palette (`Ctrl + Shift + P`) and type "Restart Kernel" | ||
|
||
## Customization | ||
You can customize or add more shortcuts by going to `File` -> `Preferences` -> `Keyboard Shortcuts` in VS Code. | ||
|
||
--- | ||
|
||
This cheat sheet is focused on the essential shortcuts for managing Jupyter Notebooks within Visual Studio Code on Windows. For more detailed information or further customization, refer to the official VS Code and Jupyter documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 6, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import requests" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 7, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"standings_url = \"https://fbref.com/en/comps/9/Premier-League-Stats\"" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 8, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"data = requests.get(standings_url)" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.12.0" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |