A great built-in command for measuring code run time:
%timeit (code), %%timeit (Code in a cell), -r = runs, -n=loops
I hope you find this built in command fun ;-)
#timeit #magiccommands #pythoncode
Documentation of all Magic Commands:
https://ipython.readthedocs.io/en/sta...
On this page of the site you can watch the video online Built-in Magic Command timeit, IPython explained in 60 seconds with a duration of hours minute second in good quality, which was uploaded by the user Ralph Turchiano 01 January 1970, share the link with friends and acquaintances, this video has already been watched 179 times on youtube and it was liked by like viewers. Enjoy your viewing!