Tips & Tricks

Jupyter Tips and Tricks

Time your code

  • Use the %timeit magic function

Reload a module from disk

Jupyter does not automatically reload code that is modified from an imported module. The following options are available to reload a modified module.

    import importlib
  • Restart kernel and run your code again, but this is time consuming and you will loose your state