DEV Community

Matheus Gomes πŸ‘¨β€πŸ’»
Matheus Gomes πŸ‘¨β€πŸ’»

Posted on

6 2

Jupyter Notebook Cheat Sheet

Jupyter Notebook Cheat Sheet

Hello guys, happy to be back to another post!

Today i will talk about something useful and not at all complex. It's more about helpful tips.

I was learning python and was using Jupyter Notebook, so i needed to learn the shortcuts to use it, so...

Here are some of the most used shortcuts for the jupyter notebook.

Shift-Enter: Run the cell selected and select below the cell you are currently in.

Ctrl-Enter: Run the cell selected, but don't jump to the next cell.

Alt-Enter: Run the cell selected and insert below.

Y: Code

M: Markdown.

R: Raw.

1 to 6: Headings.

A/B: Insert cell Above/Below.

X: Cut selected cell.

C: Copy selected cell.

Shift + V: Paste cell above.

V: Paste cell below.

Z: Undo last cell deletion.

D,D: Delete selected cell.

O: Toggle output.

Shift+O: Toggle output scrolling.

Ctrl + ]: Indent.

Ctrl + [: Dedent.

I think this are the most common and most used, hope it was useful!

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❀️