Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 23, 2024
1 parent ce0fb55 commit 4d9b54b
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2056f806
3cc29218
2 changes: 1 addition & 1 deletion appendix/mds_conda_environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h1 class="title">MDS Conda Python Environment</h1>

<div class="sourceCode" id="cb1"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="ex">conda</span> install python=3.11 pandas jupyterlab jupyterlab-git jupyterlab-spellchecker</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="ex">pip</span> install otter-grader</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode yaml code-with-copy"><code class="sourceCode yaml"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">name</span><span class="kw">:</span><span class="at"> mds</span></span>
<div class="sourceCode" id="cb2"><pre class="sourceCode yaml code-with-copy"><code class="sourceCode yaml"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">name</span><span class="kw">:</span><span class="at"> mds-base</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="fu">channels</span><span class="kw">:</span></span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> conda-forge</span></span>
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="fu">dependencies</span><span class="kw">:</span></span>
Expand Down
10 changes: 5 additions & 5 deletions lectures/0-jupyterlab-orientation-intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,26 +463,26 @@ <h3 class="anchored" data-anchor-id="local-machine">Local Machine</h3>
<h2 class="anchored" data-anchor-id="using-jupyter-notebooks">Using Jupyter Notebooks</h2>
<p><img src="img/jupyterlab-start.png" class="img-fluid"></p>
<p>We’re greeted by the launcher tab where we see that we can start either a Notebook or Console for Python or R, as well as some other utility programs. Let’s start by explaining one of the most popular options, the Jupyter Notebook. The Notebook provides and interface where you can mix text, code, mathematical expressions, plot output, videos, and more, all in the same file. So instead of the traditional IDE experience where you would write code in a text file and then have figures pop up in a different panel, this information now all resides in the same document, which facilitates reproducibility and collaboration. The Notebooks can be exported to many formats, including PDF and HTML, which makes it easy to share your project with anyone. The cell that is encircled in blue is where we can input Python code, click here and type any mathematical expression, and then run the cell by clicking the play button in the top toolbar:</p>
<div id="3801f090" class="cell" data-execution_count="1">
<div id="bf58abb0" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="dv">3</span> <span class="op">+</span> <span class="dv">4</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>7</code></pre>
</div>
</div>
<p><img src="img/jupyterlab-run-cell.png" class="img-fluid"></p>
<p>As you can see, the output is returned just under input, and a new input cell was created. We could also have clicked the plus sign to create a new cell. Here, we can do anything we can do in Python, e.g.&nbsp;variable assignment:</p>
<div id="13cc3841" class="cell" data-execution_count="2">
<div id="4c3b054e" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a>a <span class="op">=</span> <span class="dv">5</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<p>There is no output because we just assigned a value to a variable, without asking for the value of that variable, which we can do by typing out the variable name:</p>
<div id="613c2e34" class="cell" data-execution_count="3">
<div id="e49c2d7a" class="cell" data-execution_count="3">
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>a</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="3">
<pre><code>5</code></pre>
</div>
</div>
<p>Jupyter Notebooks also supports editing code on multiple lines, so we could have done this instead:</p>
<div id="04dbd28b" class="cell" data-execution_count="4">
<div id="4603c905" class="cell" data-execution_count="4">
<div class="sourceCode cell-code" id="cb7"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a>a <span class="op">=</span> <span class="dv">3</span></span>
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a>a</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-display" data-execution_count="4">
Expand Down Expand Up @@ -577,7 +577,7 @@ <h1>Reflection</h1>
<section id="static-figure-creation" class="level3">
<h3 class="anchored" data-anchor-id="static-figure-creation">Static figure creation</h3>
<p>To show an example of how plots are rendered, we will use the <code>seaborn</code> plotting package which is a high level interface to the more widely known <code>matplotlib</code> package. This is only to illustrate how plots show up in the notebook, rather than a tutorial on how to plot in Python, so I will not go into details on what these commands mean.</p>
<div id="4c4ba15e" class="cell" data-execution_count="5">
<div id="c2d7c85d" class="cell" data-execution_count="5">
<div class="sourceCode cell-code" id="cb11"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="co"># You don't have to understand what is going on in this cell</span></span>
<span id="cb11-2"><a href="#cb11-2" aria-hidden="true" tabindex="-1"></a><span class="co"># it is only to show you how a static plot looks inside JupyterLab</span></span>
<span id="cb11-3"><a href="#cb11-3" aria-hidden="true" tabindex="-1"></a></span>
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@
"href": "appendix/mds_conda_environment.html",
"title": "MDS Conda Python Environment",
"section": "",
"text": "conda install python=3.11 pandas jupyterlab jupyterlab-git jupyterlab-spellchecker\npip install otter-grader\nname: mds\nchannels:\n - conda-forge\ndependencies:\n - conda\n - python=3.12\n - pandas\n - jupyterlab\n - jupyterlab-git\n - jupyterlab-spellchecker\n - pip:\n - otter-grader",
"text": "conda install python=3.11 pandas jupyterlab jupyterlab-git jupyterlab-spellchecker\npip install otter-grader\nname: mds-base\nchannels:\n - conda-forge\ndependencies:\n - conda\n - python=3.12\n - pandas\n - jupyterlab\n - jupyterlab-git\n - jupyterlab-spellchecker\n - pip:\n - otter-grader",
"crumbs": [
"Home",
"Additional Information",
Expand Down
78 changes: 39 additions & 39 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,158 +2,158 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/index.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/0-rstudio-orientation-intro.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/0-jupyterlab-orientation-intro.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/8b-regex.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.637Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/7b-virtual-environments-renv.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.637Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/4-quarto_github_pages.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/2-git-github-ssh-basic-workflow.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/demos/slides/slides-quarto.html</loc>
<lastmod>2024-09-23T22:51:25.992Z</lastmod>
<lastmod>2024-09-23T23:14:02.637Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/appendix/semantic_line_breaks.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/appendix/rmarkdown_tips.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/appendix/git_config.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-07.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-05.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-03.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-01.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-07.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-05.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-03.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-01.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-00-rstudio.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-00.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-02.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-04.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-06.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/learning_objectives/lo-ch-08.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-02.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-04.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-06.html</loc>
<lastmod>2024-09-23T22:51:26.020Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/readings/readings-ch-08.html</loc>
<lastmod>2024-09-23T22:51:26.021Z</lastmod>
<lastmod>2024-09-23T23:14:02.667Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/appendix/mds_conda_environment.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/appendix/rstudio_config.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/8c-asking_questions.html</loc>
<lastmod>2024-09-23T22:51:25.992Z</lastmod>
<lastmod>2024-09-23T23:14:02.637Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/1-MDStools-bash-filesystem.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/3-git-history-merge-conflicts-stash.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/7a-virtual-environments-conda.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.637Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/8-regex-filenames-project-organization.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.637Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/appendix/xaringan_slides.html</loc>
<lastmod>2024-09-23T22:51:25.990Z</lastmod>
<lastmod>2024-09-23T23:14:02.635Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/6-rmarkdown-quarto-slides-ghpages.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
<url>
<loc>https://ubc-mds.github.io/DSCI_521_platforms-dsci_book/lectures/5-rstudio-projects-notebooks.html</loc>
<lastmod>2024-09-23T22:51:25.991Z</lastmod>
<lastmod>2024-09-23T23:14:02.636Z</lastmod>
</url>
</urlset>

0 comments on commit 4d9b54b

Please sign in to comment.