Anaconda use of the development environment and Jupyter Notebook

Anaconda release pre-loaded with more than 150 commonly used Package, include data analysis commonly used in libraries, ideal for data analysis.

Jupyter Notebook

         Jupyter Notebook is an interactive notebook, run support more than 40 programming languages. It is essentially a real-time code, mathematical equations, visualization and Markdown Web applications support. For data analysis, the biggest advantage Jupyter Notebook can reproduce the whole analysis process, and descriptive text, codes, charts, formulas and conclusions are integrated in a single document. Users can e-mail, Dropbox, GitHub and Jupyter Notebook Viewer will analyze the results shared with others.

 

A, Jupyter Notebook interface and configuration

  1, Notebook document composed of a series of cells, there are two forms of cell: Markdown code units and units.

(1) Code Unit: write position code, by pressing the "Shift + Enter" key combination code is run, the results are shown below this unit. The left-hand cell has "In []:" number, user-friendly view of the execution order of the code.

(2) Markdown Unit: This unit can be carried out within the text editor, using Markdown syntax specification, you can format text, insert links, images and even mathematical formulas. Similarly, press "Shift + Enter" key combination Markdown operation unit to display formatted text.

 

  2, Jupyter Notebook editing interface similar to VIM editing interface is also divided into edit mode and command mode modes.

(1) editing mode: for editing text and code. Select cell press "Enter" key to enter the edit mode, the left unit case green vertical line.

(2) Command mode: shortcut command for executing keyboard input. By pressing the "ESC" key to enter command mode, the left unit case blue vertical line. There shortcut keys used: "Y" key to switch to the code unit; "M" key to switch to the command unit; "B" button to increase a unit below this unit; "H" key to see all the shortcut commands.

 

 

Second, the advanced features of Jupyter Notebook

  1、Markdown

         You can use Markdown is a plain text editor written in markup language. A simple markup syntax, it can make the plain text content has a certain format. Markdown has a series of derived version, Markdown for extended functions (such as tables, footnotes, embedded HTML, etc.) they allow Markdown converted into more formats, e.g. LaTeX, Docbook quickly applied to a document layout.

  (1) Title

         Markdown general use Atx form before the first line plus a "#" character represents one title, two representatives of two titles, and so on.

  (2) List

         List is generally divided into two types: one is the unordered list using icons labeled, there is no serial number, there is no arrangement order; the other is an ordered list, using numerals with the order. Markdown text plus in front of "*" or "+" or "-" to indicate unordered list, after running "*", "+", "-" will become a dot. For an ordered list using. "" Or "" (a space) representation.

  (3) font

         Markdown layout tools typically use an asterisk "*" and underscore "_" as a marker font symbol. There are around two asterisks or bold underlined, before and after the three asterisks italicized or underlined.

  (4) Form

         Use Markdown can also draw a table. The first line of code indicates the header. The second row partition header and a body portion. Starting from the third row, each row represents a table row. Between the columns and columns with a "|" delimited, on both sides of each row of the table should also add "|" symbol.

  (5) mathematical formula editor

         Markdown unit can be used to insert LaTeX mathematical formulas. Add a "$" symbol, respectively, before and after the formula to insert mathematical formulas. If you want to insert a math block, the two "$" symbol ($$).

 

  2, the export function

         Jupyter Notebook Notebook can be exported to a variety of formats, such as HTML, Markdown, reST, PDF (via LaTeX) format. Among them, export PDF feature that allows readers not write LaTeX to create beautiful PDF documents.

Guess you like

Origin www.cnblogs.com/looker-yida/p/11222979.html