Jupyter of 10 magic function

1)% pwd   to display Jupyter current workspace.

 

2)% hist   to display the current Jupyter, all run through the history of the code.

3)% who   displays all variables or the name of the current Jupyter environment.

 

4)% reset deletes all current variables or name Jupyter environment.

 

5)% time   calculates the current code line long running time.

 

 

6)% timeit  calculating the current average run length code line (i.e. execute a statement 100,000 (default), the fastest running average is given and then three times.

7) %% timeit   calculates the current cell length code runs.

8)% matplotlib   for displaying the results of the drawing style defaults% matplotlib inline, the image is directly displayed in the browser, the image generated separately if desired, may be used% matplotlib.

9)% load   loading in a local or network file Python Python files

 

10)% RUN Python file to run a local or network

 

 

 

1)% pwd   to display Jupyter current workspace.

 

2)% hist   to display the current Jupyter, all run through the history of the code.

3)% who   displays all variables or the name of the current Jupyter environment.

 

4)% reset deletes all current variables or name Jupyter environment.

 

5)% time   calculates the current code line long running time.

 

 

6)% timeit  calculating the current average run length code line (i.e. execute a statement 100,000 (default), the fastest running average is given and then three times.

7) %% timeit   calculates the current cell length code runs.

8)% matplotlib   for displaying the results of the drawing style defaults% matplotlib inline, the image is directly displayed in the browser, the image generated separately if desired, may be used% matplotlib.

9)% load   loading in a local or network file Python Python files

 

10)% RUN Python file to run a local or network

 

 

 

Guess you like

Origin www.cnblogs.com/shanger/p/12006606.html