Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Introduction to NumPy Meet NumPy Multidimensional Arrays

Command mode

Craig uses command mode in the lectures. He types a esc followed by another key. I'd like to understand what exactly he does. If I understand right, he types b to go below. This works for me. Does he type a to go above? When I use a, I do not get that behavior. I looked here for keyboard navigation: https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Notebook%20Basics.html . But it doesn't explain it very well.

1 Answer


Be sure to press esc to re-enter command mode, then 'a' to insert above. There's also, like Craig said, a searchable reference to all the keyboard shortcuts that you can access with the keyboard button in the toolbar. Looking for 'insert' in that menu will pull up the shortcut you're looking for.