There are certain jupyter key shortcuts/tricks that helps developers remain more productive.
- To run a cell
Shift + enterorctrl + enter. -
Jupyter notebooks also offers tab completion
-
You can also get documentation within
jupyter-notebookby hittingshft + tabthree times or you can by?at the end of the function to getdocs. Mformarkdownmode andYfor command mode.%envThis is going to print environment variables.%pdbactivatespdbdebugger.%pylaballows to work interactively withnumpyandmatplotlib.%%debugactivate debbugging mode in cell.%%htmlrenders cell as html.%%latexrenders cell as latex.%%shshell script.%%timetime command to see how long it took to run the command.
These are my personal favorites for jupyter-notebook.
About the Author
Muhammad Raza is a Senior DevOps Engineer and former AWS Professional Services Consultant with 5 years of experience in cloud infrastructure, CI/CD automation, and DevOps solutions. He has helped numerous clients optimize AWS costs, implement Infrastructure as Code, and build reliable deployment pipelines.
Need help with your DevOps workflows? I'm available for consulting on CI/CD pipelines, infrastructure automation, and AWS architecture. Book a free 30-min call or email me.