29
edits
(using jupyter) |
|||
Line 22: | Line 22: | ||
Finally, you can launch IPython in Firefox by visiting http://localhost:8888. | Finally, you can launch IPython in Firefox by visiting http://localhost:8888. | ||
== The Python Jupyter Notebook == | |||
When you access http://localhost:8888, two example Jupyter notebooks are available to peruse. To create a new Jupyter notebook, select new -> Python 2. | |||
Starting out, we recommend looking through the "Telemetry Hello World" notebook. It gives a nice overview of Jupyter and analyzing telemetry data using pyspark and plotly. | |||
=== Using Jupyter === | |||
Jupyter Notebooks contain a series of cells. Each cell contains code or markdown. To switch between the two, use the dropdown at the top. To run a cell, use shift-enter; this either compiles the markdown or runs the code. To create new cell, select Insert -> Insert Cell Below. | |||
A cell can output text or plots. To output plots inlined with the cell, run the following command, usually below your import statements: | |||
%pylab inline | |||
== MozTelemetry == | |||
stub - add documentation about moztelemetry functions |
edits