There are several IPython Notebook magic commands that are specially helpful at the moment of profiling code.
%timeit
for line-magic and file
magic command to create a simple module.
Sources
- Timing and Profiling, Python Data Science Handbook
There are several IPython Notebook magic commands that are specially helpful at the moment of profiling code.
%timeit
for line-magic and file
magic command to create a simple module.
Search