You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h4id="New-to-Plotly?">New to Plotly?<aclass="anchor-link" href="#New-to-Plotly?">¶</a></h4><p>Plotly's Python library is free and open source! <ahref="https://plot.ly/python/getting-started/">Get started</a> by dowloading the client and <ahref="https://plot.ly/python/getting-started/">reading the primer</a>.
23
+
<br>You can set up Plotly to work in <ahref="https://plot.ly/python/getting-started/#initialization-for-online-plotting">online</a> or <ahref="https://plot.ly/python/getting-started/#initialization-for-offline-plotting">offline</a> mode, or in <ahref="https://plot.ly/python/getting-started/#start-plotting-online">jupyter notebooks</a>.
24
+
<br>We also have a quick-reference <ahref="https://images.plot.ly/plotly-documentation/images/python_cheat_sheet.pdf">cheatsheet</a> (new!) to help you get started!</p>
<p>Two of the most basic statistical operations are the <code>mean</code> $\mu$ and <code>standard deviation</code> $\sigma$ of a one-dimension array of data, that is, a sequence of numeric values. The <code>mean</code> of a set of numbers $x_1, ..., x_N$ is defined as:</p>
174
+
$$\begin{align*}
175
+
\mu = \sum_{i=1}^N{x_i}
176
+
\end{align*}
177
+
$$<p>The mean is used colloquially as the <em>average</em> of a set of values. The standard deviation on the other hand is a statistical metric that describes the spread of the data, or how far the values are from the mean. The <code>standard deviation</code> of a set of data is defined as:</p>
<spanclass="k">print</span><spanclass="s">"The mean is </span><spanclass="si">%r</span><spanclass="s">"</span><spanclass="o">%</span><spanclass="p">(</span><spanclass="n">mean</span><spanclass="p">)</span>
194
+
<spanclass="k">print</span><spanclass="s">"The standard deviation is </span><spanclass="si">%r</span><spanclass="s">"</span><spanclass="o">%</span><spanclass="p">(</span><spanclass="n">st_dev</span><spanclass="p">)</span>
<spanclass="k">print</span><spanclass="s">"The median is </span><spanclass="si">%r</span><spanclass="s">"</span><spanclass="o">%</span><spanclass="p">(</span><spanclass="n">median</span><spanclass="p">)</span>
246
+
<spanclass="k">print</span><spanclass="s">"The maximum is </span><spanclass="si">%r</span><spanclass="s">"</span><spanclass="o">%</span><spanclass="p">(</span><spanclass="n">maximum</span><spanclass="p">)</span>
247
+
<spanclass="k">print</span><spanclass="s">"The minimum is </span><spanclass="si">%r</span><spanclass="s">"</span><spanclass="o">%</span><spanclass="p">(</span><spanclass="n">minimum</span><spanclass="p">)</span>
0 commit comments