Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Simple way to measure cell execution time in ipython notebook

#The Simplest way to measure cell execution time in ipython notebook is by using ipython-autotime package.
#Install the package in the begining of the notebook

!pip install ipython-autotime

#and then load the extension by running below
%load_ext autotime
#Once you have loaded it, any cell run after this ,will give you the execution time of the cell.

#And dont worry if you want to turn it off, just unload the extension by running below
%unload_ext autotime
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Simple #measure #cell #execution #time #ipython #notebook
ADD COMMENT
Topic
Name
6+9 =