1. # You can use LaTeX represent mathematical formulas
# You can use LaTeX represent mathematical formulas from IPython.display Import Latex Latex(r"$\sqrt{x^2+y^2}$")
2. # SymPy expressions can also be displayed as LaTex
%load_ext sympyprinting from sympy import * x, y = symbols("x,y") sqrt(x**2+y**2)
3. # class using Image display "jupyter.png" pictures, the default path to the directory where the file Notebook
from IPython.display import Image Image(filename="jupyter.png")
4. Drawing matplotlib
%matplotlib inline
plot(random.randn(100));
5. #% prun execution performance for code analysis, can be used as a command line command unit and
%%prun for i in range(100): np.linalg.det (random.rand ( 10,10))
----------------
Disclaimer: This article is CSDN blogger "halazi100 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/halazi100/article/details/79704631