Skip to content

Commit

Permalink
rename jupyter_shortcuts to jupyter101
Browse files Browse the repository at this point in the history
  • Loading branch information
lillianw101 committed Jan 26, 2024
1 parent d08a4e7 commit c1e9b85
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ book:
type: textbox
chapters:
- index.md
- jupyter_shortcuts/jupyter_shortcuts.md
- jupyter101/jupyter101.md
- jupyter_datahub/jupyter_datahub.md
- autograder_gradescope/autograder_gradescope.md
- pandas/pandas.md
Expand Down
Binary file modified docs/Data-100-Debugging-Guide.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/autograder_gradescope/autograder_gradescope.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../jupyter_shortcuts/jupyter_shortcuts.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter Shortcuts</span></a>
<a href="../jupyter101/jupyter101.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter 101</span></a>
</div>
</li>
<li class="sidebar-item">
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./">
<link href="./jupyter_shortcuts/jupyter_shortcuts.html" rel="next">
<link href="./jupyter101/jupyter101.html" rel="next">
<link href="./data100_logo.png" rel="icon" type="image/png">
<script src="site_libs/quarto-html/quarto.js"></script>
<script src="site_libs/quarto-html/popper.min.js"></script>
Expand Down Expand Up @@ -115,7 +115,7 @@
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./jupyter_shortcuts/jupyter_shortcuts.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter Shortcuts</span></a>
<a href="./jupyter101/jupyter101.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter 101</span></a>
</div>
</li>
<li class="sidebar-item">
Expand Down Expand Up @@ -421,8 +421,8 @@ <h1 class="unnumbered">About</h1>
<div class="nav-page nav-page-previous">
</div>
<div class="nav-page nav-page-next">
<a href="./jupyter_shortcuts/jupyter_shortcuts.html" class="pagination-link">
<span class="nav-page-text"><span class="chapter-title">Jupyter Shortcuts</span></span> <i class="bi bi-arrow-right-short"></i>
<a href="./jupyter101/jupyter101.html" class="pagination-link">
<span class="nav-page-text"><span class="chapter-title">Jupyter 101</span></span> <i class="bi bi-arrow-right-short"></i>
</a>
</div>
</nav>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">


<title>Data 100 Debugging Guide - Jupyter Shortcuts</title>
<title>Data 100 Debugging Guide - Jupyter 101</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -75,7 +75,7 @@
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<i class="bi bi-layout-text-sidebar-reverse"></i>
</button>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="../jupyter_shortcuts/jupyter_shortcuts.html"><span class="chapter-title">Jupyter Shortcuts</span></a></li></ol></nav>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="../jupyter101/jupyter101.html"><span class="chapter-title">Jupyter 101</span></a></li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
<button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();">
Expand Down Expand Up @@ -114,7 +114,7 @@
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../jupyter_shortcuts/jupyter_shortcuts.html" class="sidebar-item-text sidebar-link active"><span class="chapter-title">Jupyter Shortcuts</span></a>
<a href="../jupyter101/jupyter101.html" class="sidebar-item-text sidebar-link active"><span class="chapter-title">Jupyter 101</span></a>
</div>
</li>
<li class="sidebar-item">
Expand Down Expand Up @@ -154,7 +154,7 @@ <h2 id="toc-title">Table of contents</h2>

<header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title">
<h1 class="title"><span class="chapter-title">Jupyter Shortcuts</span></h1>
<h1 class="title"><span class="chapter-title">Jupyter 101</span></h1>
</div>


Expand Down
File renamed without changes
File renamed without changes
14 changes: 7 additions & 7 deletions docs/jupyter_datahub/jupyter_datahub.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script src="../site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="../">
<link href="../autograder_gradescope/autograder_gradescope.html" rel="next">
<link href="../jupyter_shortcuts/jupyter_shortcuts.html" rel="prev">
<link href="../jupyter101/jupyter101.html" rel="prev">
<link href="../data100_logo.png" rel="icon" type="image/png">
<script src="../site_libs/quarto-html/quarto.js"></script>
<script src="../site_libs/quarto-html/popper.min.js"></script>
Expand Down Expand Up @@ -114,7 +114,7 @@
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../jupyter_shortcuts/jupyter_shortcuts.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter Shortcuts</span></a>
<a href="../jupyter101/jupyter101.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter 101</span></a>
</div>
</li>
<li class="sidebar-item">
Expand Down Expand Up @@ -186,10 +186,10 @@ <h2 class="anchored" data-anchor-id="my-kernel-died-restarted-or-is-very-slow">M
</center>
<ol type="1">
<li>Either press the “Ok” button or reload the page</li>
<li><a href="https://ds100.org/debugging-guide/jupyter_shortcuts/jupyter_shortcuts.html#restarting-kernel">Restart your kernel</a></li>
<li><a href="https://ds100.org/debugging-guide/jupyter_shortcuts/jupyter_shortcuts.html#running-cells">Rerun your cells</a></li>
<li><a href="https://ds100.org/debugging-guide/jupyter101/jupyter101.html#restarting-kernel">Restart your kernel</a></li>
<li><a href="https://ds100.org/debugging-guide/jupyter101/jupyter101.html#running-cells">Rerun your cells</a></li>
</ol>
<p>Note that you may loose some recent work if your kernel restarted when you were in the middle of editing a cell. As such, we recommend <a href="https://ds100.org/debugging-guide/jupyter_shortcuts/jupyter_shortcuts.html/saving-your-notebook">saving your work</a> as often as possible.</p>
<p>Note that you may loose some recent work if your kernel restarted when you were in the middle of editing a cell. As such, we recommend <a href="https://ds100.org/debugging-guide/jupyter101/jupyter101.html/saving-your-notebook">saving your work</a> as often as possible.</p>
<p>If this does not fix the issue, it could be a problem with your code, usually the last cell that executed before your kernel crashed. Double check your logic, and feel free to make a private post on Ed if you’re stuck!</p>
</section>
<section id="i-cant-edit-a-cell" class="level2">
Expand Down Expand Up @@ -477,8 +477,8 @@ <h2 class="anchored" data-anchor-id="i-cant-export-my-assignment-as-a-pdf-due-to
</script>
<nav class="page-navigation">
<div class="nav-page nav-page-previous">
<a href="../jupyter_shortcuts/jupyter_shortcuts.html" class="pagination-link">
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-title">Jupyter Shortcuts</span></span>
<a href="../jupyter101/jupyter101.html" class="pagination-link">
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-title">Jupyter 101</span></span>
</a>
</div>
<div class="nav-page nav-page-next">
Expand Down
2 changes: 1 addition & 1 deletion docs/pandas/pandas.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../jupyter_shortcuts/jupyter_shortcuts.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter Shortcuts</span></a>
<a href="../jupyter101/jupyter101.html" class="sidebar-item-text sidebar-link"><span class="chapter-title">Jupyter 101</span></a>
</div>
</li>
<li class="sidebar-item">
Expand Down
24 changes: 12 additions & 12 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,30 @@
"text": "About\nThis text offers pointers for keyboard shortcuts or common mistakes that accompany the coursework in the Spring 2024 Edition of the UC Berkeley course Data 100: Principles and Techniques of Data Science.\nInspiration for this guide was taken from the UC San Diego course DSC 10: Principles of Data Science and their debugging guide.\nIf you spot any typos or would like to suggest any changes, please email us at data100.instructors@berkeley.edu"
},
{
"objectID": "jupyter_shortcuts/jupyter_shortcuts.html#shortcuts-for-cells",
"href": "jupyter_shortcuts/jupyter_shortcuts.html#shortcuts-for-cells",
"title": "Jupyter Shortcuts",
"objectID": "jupyter101/jupyter101.html#shortcuts-for-cells",
"href": "jupyter101/jupyter101.html#shortcuts-for-cells",
"title": "Jupyter 101",
"section": "Shortcuts for Cells",
"text": "Shortcuts for Cells\nFor the following commands, make sure you’re in command mode. You can enter this mode by pressing esc.\n\na: create a cell above\nb: create a cell below\ndd: delete current cell\nm: convert a cell to markdown (text cell)\ny: convert a cell to code"
},
{
"objectID": "jupyter_shortcuts/jupyter_shortcuts.html#running-cells",
"href": "jupyter_shortcuts/jupyter_shortcuts.html#running-cells",
"title": "Jupyter Shortcuts",
"objectID": "jupyter101/jupyter101.html#running-cells",
"href": "jupyter101/jupyter101.html#running-cells",
"title": "Jupyter 101",
"section": "Running Cells",
"text": "Running Cells\nFor individual cells,\n\nctrl + return: run the current cell\nshift + return: run the current cell and move to the next cell\n\nTo run all cells in a notebook:\n\nIn the menu bar on the left, click Run. From here, you have several options. The ones we use most commonly are:\n\nRun All Above Selected Cell: this runs every cell above the selected cell\nRun Selected Cell and All Below: this runs the selected cell and all cells below\nRun All: this runs every cell in the notebook from top-to-bottom"
},
{
"objectID": "jupyter_shortcuts/jupyter_shortcuts.html#saving-your-notebook",
"href": "jupyter_shortcuts/jupyter_shortcuts.html#saving-your-notebook",
"title": "Jupyter Shortcuts",
"objectID": "jupyter101/jupyter101.html#saving-your-notebook",
"href": "jupyter101/jupyter101.html#saving-your-notebook",
"title": "Jupyter 101",
"section": "Saving your notebook",
"text": "Saving your notebook\nJupyter autosaves your work, but there can be a delay. As such, it’s a good idea to save your work as often as you remember and especially before submitting assignments. To do so, press ctrl + s."
},
{
"objectID": "jupyter_shortcuts/jupyter_shortcuts.html#restarting-kernel",
"href": "jupyter_shortcuts/jupyter_shortcuts.html#restarting-kernel",
"title": "Jupyter Shortcuts",
"objectID": "jupyter101/jupyter101.html#restarting-kernel",
"href": "jupyter101/jupyter101.html#restarting-kernel",
"title": "Jupyter 101",
"section": "Restarting Kernel",
"text": "Restarting Kernel\nIn the menu bar on the left, click Kernel. From here, you have several options. The ones we use most commonly are:\n\nRestart Kernel...\nRestart Kernel and Run up to Selected Cell\nRestart Kernel and Run All Cells"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Jupyter Shortcuts
title: Jupyter 101
format:
html:
toc: true
Expand Down
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions jupyter_datahub/jupyter_datahub.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ When you see a message like this:
<center><img src = "kernel_die.png" width = "500"></img></a></center>

1. Either press the "Ok" button or reload the page
2. [Restart your kernel](https://ds100.org/debugging-guide/jupyter_shortcuts/jupyter_shortcuts.html#restarting-kernel)
3. [Rerun your cells](https://ds100.org/debugging-guide/jupyter_shortcuts/jupyter_shortcuts.html#running-cells)
2. [Restart your kernel](https://ds100.org/debugging-guide/jupyter101/jupyter101.html#restarting-kernel)
3. [Rerun your cells](https://ds100.org/debugging-guide/jupyter101/jupyter101.html#running-cells)

Note that you may loose some recent work if your kernel restarted when you were in the middle of editing a cell. As such, we recommend [saving your work](https://ds100.org/debugging-guide/jupyter_shortcuts/jupyter_shortcuts.html/saving-your-notebook) as often as possible.
Note that you may loose some recent work if your kernel restarted when you were in the middle of editing a cell. As such, we recommend [saving your work](https://ds100.org/debugging-guide/jupyter101/jupyter101.html/saving-your-notebook) as often as possible.

If this does not fix the issue, it could be a problem with your code, usually the last cell that executed before your kernel crashed. Double check your logic, and feel free to make a private post on Ed if you're stuck!

Expand Down

0 comments on commit c1e9b85

Please sign in to comment.