Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed May 23, 2022
1 parent d8093d4 commit bdae670
Show file tree
Hide file tree
Showing 98 changed files with 402 additions and 284 deletions.
Binary file modified docs/_images/WorldFactbook-gdp-life-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/bar-age-sex-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/bar-country-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/bitmap-21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/blobs1-eps-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/blobs1-multi-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/blobs1-uni-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/blobs2-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/body-pairplot-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/body-scatter-1-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/body-scatter-3d-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/boxplot-income-heights-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/candlestick-plot-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/ccdf-pareto-17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/cor-heat-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/corr-ex-0-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/corr-ex-1-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/corr-ex-2-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/corr-ex-3-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_images/cos-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/currency-abs-15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/currency-rel-17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/fit-pareto-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/gender-bmicat-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/gender-usborn-bmi-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/grid-weight-7.png
Binary file modified docs/_images/heat-map-marathon-15.png
Binary file modified docs/_images/height-weight-gender-5.png
Binary file modified docs/_images/heights-cdf-3.png
Binary file modified docs/_images/heights-cumulative-histogram-15.png
Binary file modified docs/_images/heights-ecdf-17.png
Binary file modified docs/_images/heights-histogram-bins11-3.png
Binary file modified docs/_images/heights-jitter-1.png
Binary file modified docs/_images/heights-lognormal-7.png
Binary file modified docs/_images/heights-normal-1.png
Binary file modified docs/_images/hist-cities-11.png
Binary file modified docs/_images/income-histogram-binnumber-9.png
Binary file modified docs/_images/income-histogram-bins20-5.png
Binary file modified docs/_images/large-cities-histogram-19.png
Binary file modified docs/_images/large-cities-histogram-log-21.png
Binary file added docs/_images/log-exp-1.png
Binary file modified docs/_images/lotto-19.png
Binary file modified docs/_images/marathon180-histogram-7.png
Binary file modified docs/_images/matura-histogram-13.png
Binary file modified docs/_images/mean-imputation-1.png
Binary file modified docs/_images/mean-monthly-temps-7.png
Binary file modified docs/_images/mixture-21.png
Binary file modified docs/_images/natural-variability-23.png
Binary file modified docs/_images/pareto-chart-13.png
Binary file modified docs/_images/peds-histogram-11.png
Binary file modified docs/_images/qq-heights-5.png
Binary file modified docs/_images/qq-income-9.png
Binary file modified docs/_images/qq-pareto-15.png
Binary file modified docs/_images/quantile7-1.png
Binary file removed docs/_images/scale-shift-1.png
Diff not rendered.
Binary file added docs/_images/scale-shift-5.png
Binary file modified docs/_images/scatter-3d-colour-5.png
Binary file modified docs/_images/spokane-1-linechart-3.png
Binary file modified docs/_images/spokane-5-linechart-5.png
Binary file modified docs/_images/spokane-ma-linechart-9.png
Binary file modified docs/_images/spokane-ma-trends-11.png
Binary file modified docs/_images/spokane-seasonal-13.png
Binary file modified docs/_images/spokane-violinplot-1.png
Binary file modified docs/_images/stacked-bar-5.png
Binary file removed docs/_images/vectorised-easy-3.png
Diff not rendered.
Binary file added docs/_images/vectorised-easy-7.png
Binary file modified docs/_images/violinplot-income-5.png
Binary file modified docs/_images/wybory1-7.png
Binary file modified docs/_images/wybory2-9.png
Binary file modified docs/_images/wybory3-11.png
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '[DRAFTv0.2.2]',
VERSION: '[DRAFTv0.3.1]',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
8 changes: 4 additions & 4 deletions docs/chapter/000-preface.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@



<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.2.2]
<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.3.1]



Expand Down Expand Up @@ -132,7 +132,7 @@
<p class="caption" role="heading"><span class="caption-text">Multidimensional Data</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="310-matrix.html">8. Multidimensional Numeric Data at a Glance</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming, Aggregating, and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="330-corelation.html">10. 🚧 Exploring Relationships Between Variables</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Heterogeneous Data</span></p>
Expand Down Expand Up @@ -175,7 +175,7 @@
<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.2.2]</a>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.3.1]</a>

</nav>

Expand Down Expand Up @@ -459,7 +459,7 @@ <h2>Acknowledgements<a class="headerlink" href="#acknowledgements" title="Permal
<p>
&#169; Copyright 2022, Marek Gagolewski. Licensed under CC BY-NC-ND 4.0.
<span class="lastupdated">
Last updated on 2022-05-20T12:47:44+1000.
Last updated on 2022-05-23T17:58:17+1000.
</span>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/rtfd/sphinx_rtd_theme">rtd</a> theme.
Expand Down
11 changes: 6 additions & 5 deletions docs/chapter/110-setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@



<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.2.2]
<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.3.1]



Expand Down Expand Up @@ -142,7 +142,7 @@
<p class="caption" role="heading"><span class="caption-text">Multidimensional Data</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="310-matrix.html">8. Multidimensional Numeric Data at a Glance</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming, Aggregating, and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="330-corelation.html">10. 🚧 Exploring Relationships Between Variables</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Heterogeneous Data</span></p>
Expand Down Expand Up @@ -185,7 +185,7 @@
<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.2.2]</a>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.3.1]</a>

</nav>

Expand Down Expand Up @@ -560,7 +560,8 @@ <h2><span class="section-number">1.3. </span>Initialising Each Session and Getti
<span class="n">plt</span><span class="o">.</span><span class="n">rcParams</span><span class="o">.</span><span class="n">update</span><span class="p">({</span>
<span class="s2">&quot;font.size&quot;</span><span class="p">:</span> <span class="mi">12</span><span class="p">,</span>
<span class="s2">&quot;font.family&quot;</span><span class="p">:</span> <span class="s2">&quot;sans-serif&quot;</span><span class="p">,</span>
<span class="s2">&quot;font.sans-serif&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;Alegreya Sans&quot;</span><span class="p">,</span> <span class="s2">&quot;Alegreya&quot;</span><span class="p">]</span>
<span class="s2">&quot;font.sans-serif&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;Alegreya Sans&quot;</span><span class="p">,</span> <span class="s2">&quot;Alegreya&quot;</span><span class="p">],</span>
<span class="s2">&quot;figure.autolayout&quot;</span><span class="p">:</span> <span class="kc">True</span><span class="p">,</span>
<span class="p">})</span>
</pre></div>
</div>
Expand Down Expand Up @@ -689,7 +690,7 @@ <h2><span class="section-number">1.5. </span>Exercises<a class="headerlink" href
<p>
&#169; Copyright 2022, Marek Gagolewski. Licensed under CC BY-NC-ND 4.0.
<span class="lastupdated">
Last updated on 2022-05-20T12:47:44+1000.
Last updated on 2022-05-23T17:58:17+1000.
</span>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/rtfd/sphinx_rtd_theme">rtd</a> theme.
Expand Down
8 changes: 4 additions & 4 deletions docs/chapter/120-scalar.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@



<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.2.2]
<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.3.1]



Expand Down Expand Up @@ -155,7 +155,7 @@
<p class="caption" role="heading"><span class="caption-text">Multidimensional Data</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="310-matrix.html">8. Multidimensional Numeric Data at a Glance</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming, Aggregating, and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="330-corelation.html">10. 🚧 Exploring Relationships Between Variables</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Heterogeneous Data</span></p>
Expand Down Expand Up @@ -198,7 +198,7 @@
<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.2.2]</a>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.3.1]</a>

</nav>

Expand Down Expand Up @@ -911,7 +911,7 @@ <h2><span class="section-number">2.5. </span>Exercises<a class="headerlink" href
<p>
&#169; Copyright 2022, Marek Gagolewski. Licensed under CC BY-NC-ND 4.0.
<span class="lastupdated">
Last updated on 2022-05-20T12:47:44+1000.
Last updated on 2022-05-23T17:58:17+1000.
</span>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/rtfd/sphinx_rtd_theme">rtd</a> theme.
Expand Down
10 changes: 5 additions & 5 deletions docs/chapter/130-sequential.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@



<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.2.2]
<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.3.1]



Expand Down Expand Up @@ -158,7 +158,7 @@
<p class="caption" role="heading"><span class="caption-text">Multidimensional Data</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="310-matrix.html">8. Multidimensional Numeric Data at a Glance</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming, Aggregating, and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="330-corelation.html">10. 🚧 Exploring Relationships Between Variables</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Heterogeneous Data</span></p>
Expand Down Expand Up @@ -201,7 +201,7 @@
<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.2.2]</a>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.3.1]</a>

</nav>

Expand Down Expand Up @@ -912,7 +912,7 @@ <h3><span class="section-number">3.5.3. </span>Object Copies<a class="headerlink
<span class="kn">import</span> <span class="nn">random</span>
<span class="n">random</span><span class="o">.</span><span class="n">shuffle</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="c1"># modifies x in-place</span>
<span class="nb">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
<span class="c1">## [1, 3, 5, 4, 2]</span>
<span class="c1">## [3, 5, 2, 4, 1]</span>
</pre></div>
</div>
<p>Moreover, later we will learn about <code class="docutils literal notranslate"><span class="pre">Series</span></code> objects in <strong class="program">pandas</strong>,
Expand Down Expand Up @@ -1048,7 +1048,7 @@ <h2><span class="section-number">3.7. </span>Exercises<a class="headerlink" href
<p>
&#169; Copyright 2022, Marek Gagolewski. Licensed under CC BY-NC-ND 4.0.
<span class="lastupdated">
Last updated on 2022-05-20T12:47:44+1000.
Last updated on 2022-05-23T17:58:17+1000.
</span>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/rtfd/sphinx_rtd_theme">rtd</a> theme.
Expand Down
8 changes: 4 additions & 4 deletions docs/chapter/210-vector.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@



<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.2.2]
<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.3.1]



Expand Down Expand Up @@ -153,7 +153,7 @@
<p class="caption" role="heading"><span class="caption-text">Multidimensional Data</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="310-matrix.html">8. Multidimensional Numeric Data at a Glance</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming, Aggregating, and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="330-corelation.html">10. 🚧 Exploring Relationships Between Variables</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Heterogeneous Data</span></p>
Expand Down Expand Up @@ -196,7 +196,7 @@
<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.2.2]</a>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.3.1]</a>

</nav>

Expand Down Expand Up @@ -1200,7 +1200,7 @@ <h2><span class="section-number">4.6. </span>Exercises<a class="headerlink" href
<p>
&#169; Copyright 2022, Marek Gagolewski. Licensed under CC BY-NC-ND 4.0.
<span class="lastupdated">
Last updated on 2022-05-20T12:47:44+1000.
Last updated on 2022-05-23T17:58:17+1000.
</span>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/rtfd/sphinx_rtd_theme">rtd</a> theme.
Expand Down
16 changes: 10 additions & 6 deletions docs/chapter/220-aggregate.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@



<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.2.2]
<a href="../index.html"> Minimalist Data Wrangling with Python [DRAFTv0.3.1]



Expand Down Expand Up @@ -145,7 +145,7 @@
<p class="caption" role="heading"><span class="caption-text">Multidimensional Data</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="310-matrix.html">8. Multidimensional Numeric Data at a Glance</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming, Aggregating, and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="320-transform-matrix.html">9. Transforming and Filtering Multidimensional Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="330-corelation.html">10. 🚧 Exploring Relationships Between Variables</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Heterogeneous Data</span></p>
Expand Down Expand Up @@ -188,7 +188,7 @@
<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.2.2]</a>
<a href="../index.html">Minimalist Data Wrangling with Python [DRAFTv0.3.1]</a>

</nav>

Expand Down Expand Up @@ -671,13 +671,15 @@ <h2><span class="section-number">5.3. </span>Measures of Shape (*)<a class="head
and is based only on the aggregates</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">plt</span><span class="o">.</span><span class="n">subplot</span><span class="p">(</span><span class="mi">211</span><span class="p">)</span> <span class="c1"># 2 rows, 1 column, 1st subplot</span>
<span class="n">sns</span><span class="o">.</span><span class="n">boxplot</span><span class="p">(</span><span class="n">data</span><span class="o">=</span><span class="n">income</span><span class="p">,</span> <span class="n">orient</span><span class="o">=</span><span class="s2">&quot;h&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s2">&quot;income&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">yticks</span><span class="p">([</span><span class="mi">0</span><span class="p">],</span> <span class="p">[</span><span class="s2">&quot;income&quot;</span><span class="p">])</span>

<span class="n">plt</span><span class="o">.</span><span class="n">subplot</span><span class="p">(</span><span class="mi">212</span><span class="p">)</span> <span class="c1"># 2 rows, 1 column, 2nd subplot</span>
<span class="n">sns</span><span class="o">.</span><span class="n">boxplot</span><span class="p">(</span><span class="n">data</span><span class="o">=</span><span class="n">heights</span><span class="p">,</span> <span class="n">orient</span><span class="o">=</span><span class="s2">&quot;h&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s2">&quot;heights&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">yticks</span><span class="p">([</span><span class="mi">0</span><span class="p">],</span> <span class="p">[</span><span class="s2">&quot;heights&quot;</span><span class="p">])</span>

<span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
<span class="c1">## ([&lt;matplotlib.axis.YTick object at 0x7f96b2eb96a0&gt;], [Text(0, 0, &#39;income&#39;)])</span>
<span class="c1">## ([&lt;matplotlib.axis.YTick object at 0x7f96b2e04520&gt;], [Text(0, 0, &#39;heights&#39;)])</span>
</pre></div>
</div>
<div class="figure align-default" id="id12">
Expand Down Expand Up @@ -752,7 +754,9 @@ <h2><span class="section-number">5.3. </span>Measures of Shape (*)<a class="head
(which is a smoothened version of a histogram),
compare <a class="reference internal" href="#fig-violinplot-income"><span class="std std-numref">Figure 5.3</span></a>.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">sns</span><span class="o">.</span><span class="n">violinplot</span><span class="p">(</span><span class="n">data</span><span class="o">=</span><span class="n">income</span><span class="p">,</span> <span class="n">orient</span><span class="o">=</span><span class="s2">&quot;h&quot;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">yticks</span><span class="p">([</span><span class="mi">0</span><span class="p">],</span> <span class="p">[</span><span class="s2">&quot;income&quot;</span><span class="p">])</span>
<span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
<span class="c1">## ([&lt;matplotlib.axis.YTick object at 0x7f96b2e00700&gt;], [Text(0, 0, &#39;income&#39;)])</span>
</pre></div>
</div>
<div class="figure align-default" id="id14">
Expand Down Expand Up @@ -910,7 +914,7 @@ <h2><span class="section-number">5.6. </span>Exercises<a class="headerlink" href
<p>
&#169; Copyright 2022, Marek Gagolewski. Licensed under CC BY-NC-ND 4.0.
<span class="lastupdated">
Last updated on 2022-05-20T12:47:44+1000.
Last updated on 2022-05-23T17:58:17+1000.
</span>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
and a customised <a href="https://github.com/rtfd/sphinx_rtd_theme">rtd</a> theme.
Expand Down
Loading

0 comments on commit bdae670

Please sign in to comment.