What does %% time mean in python-3?

What does %% time mean in python-3?

%%time is a magic command. Its a part of IPython.

%%time prints the wall time for the entire cell whereas %time gives you the time for first line only

Using %%time or %time prints 2 values:

  1. CPU Times
  2. Wall Time

You can read more about it in the documentation

What does %% time mean in python-3?

Leave a Reply

Your email address will not be published. Required fields are marked *