Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeubank committed Oct 12, 2023
1 parent 87f5255 commit 66c337d
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
Binary file modified docs/html/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/html/.doctrees/exercises/Exercise_dask.doctree
Binary file not shown.
Binary file modified docs/html/.doctrees/exercises/Exercise_plotting_part1.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"\n",
"### Exercise 6\n",
"\n",
"Load the World Development Indicator data used in the [plotting reading](../plotting_altair_part1.ipynb). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"Load the World Development Indicator data used in the [plotting reading](https://nickeubank.github.io/practicaldatascience_book/notebooks/class_5/week_2/20_plotting_with_seaborn.html). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"\n",
"Make any adjustments to the functional forms of your variables and/or axes needed to make the figure legible. "
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"\n",
"### Exercise 6\n",
"\n",
"Load the World Development Indicator data used in the [plotting reading](../plotting_altair_part1.ipynb). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"Load the World Development Indicator data used in the [plotting reading](https://nickeubank.github.io/practicaldatascience_book/notebooks/class_5/week_2/20_plotting_with_seaborn.html). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"\n",
"Make any adjustments to the functional forms of your variables and/or axes needed to make the figure legible. "
]
Expand Down
2 changes: 1 addition & 1 deletion docs/html/exercises/Exercise_plotting_part1.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
Std Dev x: 21.2389710287,
Std Dev y: 32.2389081209832,
Correlation: 0.73892819281
</pre></div> </div> <p>(Though you shouldn’t get those specific values)</p> </section> <section id=Exercise-3 > <h2 id=Exercise-3 >Exercise 3<a class=headerlink href="#Exercise-3" title="Permalink to this headline"></a></h2> <p>Based only on these results, discuss what might you conclude about these example datasets with your partner. Write down your thoughts.</p> </section> <section id=Execise-4 > <h2 id=Execise-4 >Execise 4<a class=headerlink href="#Execise-4" title="Permalink to this headline"></a></h2> <p>Write a loop that iterates over these example datasets, and using Altair library, plot a simple scatter plot of each dataset with the <code class="docutils literal notranslate"><span class=pre >x</span></code> variable on the x-axis and the <code class="docutils literal notranslate"><span class=pre >y</span></code> variable on the y-axis.</p> <p>Hint: When writing this type of code, it is often best to start by writing code to do what you want for the first iteration of the loop. Once you have code that works for the first example dataset, then write the full loop around it.</p> <p>Hint 2: To force Jupyter to display your charts when they’re generated within a loop, use the method <code class="docutils literal notranslate"><span class=pre >.show()</span></code> (e.g. <code class="docutils literal notranslate"><span class=pre >my_chart.show()</span></code>).</p> <p>Hint 3: You will need to change the range of the axes to make the plots look good!</p> </section> <section id=Exercise-5 > <h2 id=Exercise-5 >Exercise 5<a class=headerlink href="#Exercise-5" title="Permalink to this headline"></a></h2> <p>Review you plots. How does your impression of how these datasets differ from what you wrote down in Exercise 3?</p> <section id="Economic-Development-and…-Your-Choice!"> <h3 id="Economic-Development-and…-Your-Choice!">Economic Development and… Your Choice!<a class=headerlink href="#Economic-Development-and…-Your-Choice!" title="Permalink to this headline"></a></h3> </section> </section> <section id=Exercise-6 > <h2 id=Exercise-6 >Exercise 6<a class=headerlink href="#Exercise-6" title="Permalink to this headline"></a></h2> <p>Load the World Development Indicator data used in the <a class="reference external" href="../plotting_altair_part1.ipynb">plotting reading</a>. Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time.</p> <p>Make any adjustments to the functional forms of your variables and/or axes needed to make the figure legible.</p> </section> <section id=Exercise-7 > <h2 id=Exercise-7 >Exercise 7<a class=headerlink href="#Exercise-7" title="Permalink to this headline"></a></h2> <p>Now add a second series. Facet your plot so that the two subplots are positioned so that they are effectively sharing the same time axes (e.g., if you draw a line up from 2010 on one plot, you get to 2010 on the other).</p> <p>Rather than telling you exactly how to do it, however, I’ll point you to the <a class="reference external" href="https://seaborn.pydata.org/tutorial/objects_interface#faceting-and-pairing-subplots">seaborn tutorial</a>. It has examples that don’t do exactly what you want, but should be close enough you can guess-and-check to the solution you want!</p> <p>Use your detective skills (and some guess and check work) to figure out how to get it to work!</p> </section> </section> </article> </div> </div> </main> </div> <footer class=md-footer > <div class=md-footer-nav > <nav class="md-footer-nav__inner md-grid"> </a> </nav> </div> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class=md-footer-copyright > <div class=md-footer-copyright__highlight > &#169; Copyright 2021, Nick Eubank. </div> Created using <a href="http://www.sphinx-doc.org/">Sphinx</a> 4.5.0. and <a href="https://github.com/bashtage/sphinx-material/">Material for Sphinx</a> </div> </div> </div> </footer> <script src="../_static/javascripts/application.js"></script> <script>app.initialize({version: "1.0.4", url: {base: ".."}})</script>
</pre></div> </div> <p>(Though you shouldn’t get those specific values)</p> </section> <section id=Exercise-3 > <h2 id=Exercise-3 >Exercise 3<a class=headerlink href="#Exercise-3" title="Permalink to this headline"></a></h2> <p>Based only on these results, discuss what might you conclude about these example datasets with your partner. Write down your thoughts.</p> </section> <section id=Execise-4 > <h2 id=Execise-4 >Execise 4<a class=headerlink href="#Execise-4" title="Permalink to this headline"></a></h2> <p>Write a loop that iterates over these example datasets, and using Altair library, plot a simple scatter plot of each dataset with the <code class="docutils literal notranslate"><span class=pre >x</span></code> variable on the x-axis and the <code class="docutils literal notranslate"><span class=pre >y</span></code> variable on the y-axis.</p> <p>Hint: When writing this type of code, it is often best to start by writing code to do what you want for the first iteration of the loop. Once you have code that works for the first example dataset, then write the full loop around it.</p> <p>Hint 2: To force Jupyter to display your charts when they’re generated within a loop, use the method <code class="docutils literal notranslate"><span class=pre >.show()</span></code> (e.g. <code class="docutils literal notranslate"><span class=pre >my_chart.show()</span></code>).</p> <p>Hint 3: You will need to change the range of the axes to make the plots look good!</p> </section> <section id=Exercise-5 > <h2 id=Exercise-5 >Exercise 5<a class=headerlink href="#Exercise-5" title="Permalink to this headline"></a></h2> <p>Review you plots. How does your impression of how these datasets differ from what you wrote down in Exercise 3?</p> <section id="Economic-Development-and…-Your-Choice!"> <h3 id="Economic-Development-and…-Your-Choice!">Economic Development and… Your Choice!<a class=headerlink href="#Economic-Development-and…-Your-Choice!" title="Permalink to this headline"></a></h3> </section> </section> <section id=Exercise-6 > <h2 id=Exercise-6 >Exercise 6<a class=headerlink href="#Exercise-6" title="Permalink to this headline"></a></h2> <p>Load the World Development Indicator data used in the <a class="reference external" href="https://nickeubank.github.io/practicaldatascience_book/notebooks/class_5/week_2/20_plotting_with_seaborn.html">plotting reading</a>. Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time.</p> <p>Make any adjustments to the functional forms of your variables and/or axes needed to make the figure legible.</p> </section> <section id=Exercise-7 > <h2 id=Exercise-7 >Exercise 7<a class=headerlink href="#Exercise-7" title="Permalink to this headline"></a></h2> <p>Now add a second series. Facet your plot so that the two subplots are positioned so that they are effectively sharing the same time axes (e.g., if you draw a line up from 2010 on one plot, you get to 2010 on the other).</p> <p>Rather than telling you exactly how to do it, however, I’ll point you to the <a class="reference external" href="https://seaborn.pydata.org/tutorial/objects_interface#faceting-and-pairing-subplots">seaborn tutorial</a>. It has examples that don’t do exactly what you want, but should be close enough you can guess-and-check to the solution you want!</p> <p>Use your detective skills (and some guess and check work) to figure out how to get it to work!</p> </section> </section> </article> </div> </div> </main> </div> <footer class=md-footer > <div class=md-footer-nav > <nav class="md-footer-nav__inner md-grid"> </a> </nav> </div> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class=md-footer-copyright > <div class=md-footer-copyright__highlight > &#169; Copyright 2021, Nick Eubank. </div> Created using <a href="http://www.sphinx-doc.org/">Sphinx</a> 4.5.0. and <a href="https://github.com/bashtage/sphinx-material/">Material for Sphinx</a> </div> </div> </div> </footer> <script src="../_static/javascripts/application.js"></script> <script>app.initialize({version: "1.0.4", url: {base: ".."}})</script>
2 changes: 1 addition & 1 deletion docs/html/exercises/Exercise_plotting_part1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"\n",
"### Exercise 6\n",
"\n",
"Load the World Development Indicator data used in the [plotting reading](../plotting_altair_part1.ipynb). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"Load the World Development Indicator data used in the [plotting reading](https://nickeubank.github.io/practicaldatascience_book/notebooks/class_5/week_2/20_plotting_with_seaborn.html). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"\n",
"Make any adjustments to the functional forms of your variables and/or axes needed to make the figure legible. "
]
Expand Down
2 changes: 1 addition & 1 deletion docs/html/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>http://cm4ss.comdistributed_starting_dask_cluster.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_bigdata.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_cloud_dukesubscription.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_dask.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_dask_realdata.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_git.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_jupyterlab.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_scikit_learn.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_sklearn.html</loc></url><url><loc>http://cm4ss.comindex.html</loc></url><url><loc>http://cm4ss.comparallelism.html</loc></url><url><loc>http://cm4ss.compr_review.html</loc></url><url><loc>http://cm4ss.comwhat_is_big_data.html</loc></url><url><loc>http://cm4ss.comgenindex.html</loc></url><url><loc>http://cm4ss.comsearch.html</loc></url></urlset>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>http://cm4ss.comdistributed_starting_dask_cluster.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_bigdata.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_cloud_dukesubscription.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_dask.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_dask_realdata.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_git.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_jupyterlab.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_plotting_part1.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_scikit_learn.html</loc></url><url><loc>http://cm4ss.comexercises/Exercise_sklearn.html</loc></url><url><loc>http://cm4ss.comindex.html</loc></url><url><loc>http://cm4ss.comparallelism.html</loc></url><url><loc>http://cm4ss.compr_review.html</loc></url><url><loc>http://cm4ss.comwhat_is_big_data.html</loc></url><url><loc>http://cm4ss.comgenindex.html</loc></url><url><loc>http://cm4ss.comsearch.html</loc></url></urlset>
2 changes: 1 addition & 1 deletion source/exercises/Exercise_plotting_part1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"\n",
"### Exercise 6\n",
"\n",
"Load the World Development Indicator data used in the [plotting reading](../plotting_altair_part1.ipynb). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"Load the World Development Indicator data used in the [plotting reading](https://nickeubank.github.io/practicaldatascience_book/notebooks/class_5/week_2/20_plotting_with_seaborn.html). Rather than picking a single year, pick a single country and look at how GDP per capita and one of the other variables in that dataset have evolved together over time. \n",
"\n",
"Make any adjustments to the functional forms of your variables and/or axes needed to make the figure legible. "
]
Expand Down

0 comments on commit 66c337d

Please sign in to comment.