Some useful ipython magic commands
In [1]: %precision 2 Out[1]: '%.2f'  In [2]: import math  In [3]: math.sqrt(2) Out[3]: 1.41       ...
Tags: python, ipython, jupyter, notebook