A way to have the timing run just once and then run it throughout the notebook

pip install ipython-autotime

Then in the first cell run

%load_ext autotime

It just gives 1 time not 4 times like %time seems to be giving but this is more convenient.

1 Like