How fast does your Python code run? Find out with timeit
Автор: Python and Pandas with Reuven Lerner
Загружено: 2022-11-06
Просмотров: 6818
How fast does your Python code run? Python's standard library comes with "timeit", with which you can check your code's speed. But Jupyter comes with the "%timeit" and "%%timeit" magic commands, which make it super-easy to find out how long something takes. In this video, I demonstrate these two magic commands, and show you how to compare code speed.
Jupyter notebooks for all of my videos are at https://github.com/reuven/youTube-not....
And don't forget my free, weekly "Better developers" newsletter about Python and software engineering!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: