π§ Databricks Notebook Keyboard Shortcuts & Tricks
Boost your productivity with these handy tips—plus gear recommendations for your data workspace!
π Notebook Editor Shortcuts
Action | Shortcut (Windows/Linux) | Shortcut (Mac) |
---|---|---|
Run cell | Shift + Enter |
Shift + Enter |
Run cell and insert below | Alt + Enter |
Option + Enter |
Run all cells above | Ctrl + Shift + ↑ |
Cmd + Shift + ↑ |
Run all cells below | Ctrl + Shift + ↓ |
Cmd + Shift + ↓ |
Insert cell above | Ctrl + Shift + A |
Cmd + Shift + A |
Insert cell below | Ctrl + Shift + B |
Cmd + Shift + B |
Delete current cell | Ctrl + Shift + D |
Cmd + Shift + D |
Undo delete cell | Ctrl + Z |
Cmd + Z |
Move cell up | Ctrl + Shift + ↑ |
Cmd + Shift + ↑ |
Move cell down | Ctrl + Shift + ↓ |
Cmd + Shift + ↓ |
Toggle line numbers | Ctrl + M L |
Cmd + M L |
Comment/uncomment line | Ctrl + / |
Cmd + / |
Search in notebook | Ctrl + F |
Cmd + F |
Find and replace | Ctrl + H |
Cmd + H |
✍️ Markdown & Formatting Tricks
Use %md
to write clean documentation or visual notes:
-
#
→ H1 -
**bold**
,*italic*
,`code`
-
[Amazon Gear](https://www.amazon.com/s?k=developer+workspace&tag=vishwa2025-20)
-
Lists with
-
or*
-
Link to
[Databricks Guide](https://www.amazon.com/s?k=databricks&tag=vishwa2025-20)
⚙️ Magic Commands
-
%sql
,%python
,%scala
,%r
-
%run ./path/to/notebook
-
%pip install pandas
-
%fs ls
,%fs cp
,%fs head
π‘ Boost Your Productivity
Optimize your work with these essentials:
-
π₯️ Coding Monitor
-
πͺ Laptop Stand
-
π Brooks Ghost Shoes
No comments:
Post a Comment