How to test running time of a function

import time

start_time = time.time()
predicted = class.predict(pandas_df) #this include the function to test
print((time.time() – start_time))

Be the first to comment

Leave a Reply

Your email address will not be published.


*