0 points

Profiling and Timing Code | Python Data Science Handbook


dashboard

Sat May 16 2020 20:45:33 GMT+0000 (UTC)

Posted by @Tecnolo #python

%timeit sum(range(100))
content_copy

Note that because this operation is so fast, %timeit automatically does a large number of repetitions.

https://jakevdp.github.io/PythonDataScienceHandbook/01.07-timing-and-profiling.html

>> Browse more code snippets

more_vert