Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-ulle committed Oct 11, 2024
1 parent 8d11587 commit c00c39a
Show file tree
Hide file tree
Showing 13 changed files with 328 additions and 97 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 9d404fee3065b0e830865113809a6dbc
config: 5cb6c7425e1c59af98ff89df9d69e3c2
tags: 645f666f9bcd5a90fca523b33c5a78b7
37 changes: 29 additions & 8 deletions chapters/01_python-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
class="form-control"
name="q"
id="search-input"
placeholder="Search..."
aria-label="Search..."
placeholder="Search this book..."
aria-label="Search this book..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
Expand Down Expand Up @@ -155,12 +155,10 @@



<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt=""/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt=""/>`);</script>
<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt="Python Basics - Home"/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt="Python Basics - Home"/>`);</script>


<p class="title logo__title">Python Basics</p>

</a></div>
<div class="sidebar-primary-item">

Expand All @@ -175,15 +173,23 @@
</script></div>
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Notes</span></p>

<ul class="nav bd-sidenav bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="index.html">
Overview
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Python Basics</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1 current active"><a class="current reference internal" href="#">1. Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="02_pandas-basics.html">2. Data Structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="03_exploring-data.html">3. Exploring Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="04_organizing-code.html">4. Organizing Code</a></li>
<li class="toctree-l1"><a class="reference internal" href="05_appendix.html">5. Appendix</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Afterword</span></p>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Back Matter</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="assessment.html">Assessment</a></li>
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
Expand Down Expand Up @@ -231,6 +237,21 @@
<div class="article-header-buttons">


<a href="https://github.com/ucdavisdatalab/workshop_python_basics" target="_blank"
class="btn btn-sm btn-source-repository-button"
title="Source repository"
data-bs-placement="bottom" data-bs-toggle="tooltip"
>


<span class="btn__icon-container">
<i class="fab fa-github"></i>
</span>

</a>






Expand Down
37 changes: 29 additions & 8 deletions chapters/02_pandas-basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
class="form-control"
name="q"
id="search-input"
placeholder="Search..."
aria-label="Search..."
placeholder="Search this book..."
aria-label="Search this book..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
Expand Down Expand Up @@ -153,12 +153,10 @@



<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt=""/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt=""/>`);</script>
<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt="Python Basics - Home"/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt="Python Basics - Home"/>`);</script>


<p class="title logo__title">Python Basics</p>

</a></div>
<div class="sidebar-primary-item">

Expand All @@ -173,15 +171,23 @@
</script></div>
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Notes</span></p>

<ul class="nav bd-sidenav bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="index.html">
Overview
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Python Basics</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="01_python-basics.html">1. Getting Started</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">2. Data Structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="03_exploring-data.html">3. Exploring Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="04_organizing-code.html">4. Organizing Code</a></li>
<li class="toctree-l1"><a class="reference internal" href="05_appendix.html">5. Appendix</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Afterword</span></p>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Back Matter</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="assessment.html">Assessment</a></li>
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
Expand Down Expand Up @@ -229,6 +235,21 @@
<div class="article-header-buttons">


<a href="https://github.com/ucdavisdatalab/workshop_python_basics" target="_blank"
class="btn btn-sm btn-source-repository-button"
title="Source repository"
data-bs-placement="bottom" data-bs-toggle="tooltip"
>


<span class="btn__icon-container">
<i class="fab fa-github"></i>
</span>

</a>






Expand Down
47 changes: 34 additions & 13 deletions chapters/03_exploring-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
class="form-control"
name="q"
id="search-input"
placeholder="Search..."
aria-label="Search..."
placeholder="Search this book..."
aria-label="Search this book..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
Expand Down Expand Up @@ -153,12 +153,10 @@



<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt=""/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt=""/>`);</script>
<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt="Python Basics - Home"/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt="Python Basics - Home"/>`);</script>


<p class="title logo__title">Python Basics</p>

</a></div>
<div class="sidebar-primary-item">

Expand All @@ -173,15 +171,23 @@
</script></div>
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Notes</span></p>

<ul class="nav bd-sidenav bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="index.html">
Overview
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Python Basics</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="01_python-basics.html">1. Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="02_pandas-basics.html">2. Data Structures</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">3. Exploring Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="04_organizing-code.html">4. Organizing Code</a></li>
<li class="toctree-l1"><a class="reference internal" href="05_appendix.html">5. Appendix</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Afterword</span></p>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Back Matter</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="assessment.html">Assessment</a></li>
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
Expand Down Expand Up @@ -229,6 +235,21 @@
<div class="article-header-buttons">


<a href="https://github.com/ucdavisdatalab/workshop_python_basics" target="_blank"
class="btn btn-sm btn-source-repository-button"
title="Source repository"
data-bs-placement="bottom" data-bs-toggle="tooltip"
>


<span class="btn__icon-container">
<i class="fab fa-github"></i>
</span>

</a>






Expand Down Expand Up @@ -1232,7 +1253,7 @@ <h3><span class="section-number">3.2.2. </span>List Comprehensions<a class="head
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_101589/2993909395.py:1: FutureWarning: The provided callable &lt;function median at 0x777b18539620&gt; is currently using Series.median. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;median&quot; instead.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_130502/2993909395.py:1: FutureWarning: The provided callable &lt;function median at 0x70e120de1620&gt; is currently using Series.median. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;median&quot; instead.
banknotes[&quot;first_appearance_year&quot;].agg(np.median)
</pre></div>
</div>
Expand All @@ -1251,11 +1272,11 @@ <h3><span class="section-number">3.2.2. </span>List Comprehensions<a class="head
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_101589/3929709255.py:1: FutureWarning: The provided callable &lt;function mean at 0x777b185e3380&gt; is currently using Series.mean. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;mean&quot; instead.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_130502/3929709255.py:1: FutureWarning: The provided callable &lt;function mean at 0x70e12178f380&gt; is currently using Series.mean. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;mean&quot; instead.
banknotes[&quot;current_bill_value&quot;].agg([np.mean, np.median, np.std])
/tmp/ipykernel_101589/3929709255.py:1: FutureWarning: The provided callable &lt;function median at 0x777b18539620&gt; is currently using Series.median. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;median&quot; instead.
/tmp/ipykernel_130502/3929709255.py:1: FutureWarning: The provided callable &lt;function median at 0x70e120de1620&gt; is currently using Series.median. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;median&quot; instead.
banknotes[&quot;current_bill_value&quot;].agg([np.mean, np.median, np.std])
/tmp/ipykernel_101589/3929709255.py:1: FutureWarning: The provided callable &lt;function std at 0x777b185e34c0&gt; is currently using Series.std. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;std&quot; instead.
/tmp/ipykernel_130502/3929709255.py:1: FutureWarning: The provided callable &lt;function std at 0x70e12178f4c0&gt; is currently using Series.std. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;std&quot; instead.
banknotes[&quot;current_bill_value&quot;].agg([np.mean, np.median, np.std])
</pre></div>
</div>
Expand All @@ -1275,7 +1296,7 @@ <h3><span class="section-number">3.2.2. </span>List Comprehensions<a class="head
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_101589/1876906337.py:1: FutureWarning: The provided callable &lt;function mean at 0x777b185e3380&gt; is currently using DataFrame.mean. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;mean&quot; instead.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_130502/1876906337.py:1: FutureWarning: The provided callable &lt;function mean at 0x70e12178f380&gt; is currently using DataFrame.mean. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string &quot;mean&quot; instead.
banknotes[[&quot;current_bill_value&quot;, &quot;scaled_bill_value&quot;]].agg(np.mean)
</pre></div>
</div>
Expand Down
37 changes: 29 additions & 8 deletions chapters/04_organizing-code.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
class="form-control"
name="q"
id="search-input"
placeholder="Search..."
aria-label="Search..."
placeholder="Search this book..."
aria-label="Search this book..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
Expand Down Expand Up @@ -153,12 +153,10 @@



<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt=""/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt=""/>`);</script>
<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-light" alt="Python Basics - Home"/>
<script>document.write(`<img src="../_static/datalab-logo-full-color-rgb-1.png" class="logo__image only-dark" alt="Python Basics - Home"/>`);</script>


<p class="title logo__title">Python Basics</p>

</a></div>
<div class="sidebar-primary-item">

Expand All @@ -173,15 +171,23 @@
</script></div>
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Notes</span></p>

<ul class="nav bd-sidenav bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="index.html">
Overview
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Python Basics</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="01_python-basics.html">1. Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="02_pandas-basics.html">2. Data Structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="03_exploring-data.html">3. Exploring Data</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">4. Organizing Code</a></li>
<li class="toctree-l1"><a class="reference internal" href="05_appendix.html">5. Appendix</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Afterword</span></p>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Back Matter</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="assessment.html">Assessment</a></li>
<li class="toctree-l1"><a class="reference internal" href="references.html">References</a></li>
Expand Down Expand Up @@ -229,6 +235,21 @@
<div class="article-header-buttons">


<a href="https://github.com/ucdavisdatalab/workshop_python_basics" target="_blank"
class="btn btn-sm btn-source-repository-button"
title="Source repository"
data-bs-placement="bottom" data-bs-toggle="tooltip"
>


<span class="btn__icon-container">
<i class="fab fa-github"></i>
</span>

</a>






Expand Down
Loading

0 comments on commit c00c39a

Please sign in to comment.