Using IPython Jupyter Magic Commands to Improve the Notebook Experience
A post on creating a custom IPython Jupyter Magic commandLearn to apply some magic to your notebooks. Image by author using DALL-E-3. A version of this post originally appeared here.IntroductionJupyter Notebooks are commonplace in data science. They allow a mixture of “repeat, evaluation, loop” (REPL) code writing and documentation in a single place. They’re most commonly used for analysis and brainstorming purposes, but also, more contentiously, some prefer notebooks to scripts to run production code (but we won’t focus…