I can’t figure out how to store the result from cell magic – %%timeit? I’ve read: Can you capture the output of ipython’s magic methods? Capture the result of an IPython magic function and in this questions answers only about line magic. In line mode (%) this works: But in cell mode (%%) it does not: It simply executes the