Skip to content

Commit 5c881c8

Browse files
committed
update html
1 parent 6312569 commit 5c881c8

File tree

17 files changed

+200
-315
lines changed

17 files changed

+200
-315
lines changed
Binary file not shown.

docs/.doctrees/environment.pickle

81 Bytes
Binary file not shown.

docs/.doctrees/nbsphinx/Module1_GettingStartedWithPython/Jupyter_Notebooks.ipynb

Lines changed: 30 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "raw",
5-
"id": "7ba3eb4e",
5+
"id": "7f21c02b",
66
"metadata": {
77
"raw_mimetype": "text/restructuredtext"
88
},
@@ -14,43 +14,11 @@
1414
},
1515
{
1616
"cell_type": "markdown",
17-
"id": "f85e281b",
17+
"id": "e0ac6fc5",
1818
"metadata": {},
1919
"source": [
2020
"# Jupyter Notebooks\n",
2121
"\n",
22-
"<div class=\"alert alert-warning\">\n",
23-
"\n",
24-
"**Before You Start This Section**: \n",
25-
"\n",
26-
"In the following section we will be using IPython or a Jupyter notebook to run our code.\n",
27-
"Presently, there is an incompatibility with these programs and a Python package called `jedi`, which typically is responsible for performing auto-completions in our code (when prompted by hitting `<TAB>`, which we will be doing below).\n",
28-
"It is really useful!\n",
29-
"\n",
30-
"First, let's check to see if we have an incompatible version of `jedi` installed.\n",
31-
"In your terminal (before starting a Python/IPython/Jupyter session), run\n",
32-
" \n",
33-
"```\n",
34-
"conda list\n",
35-
"```\n",
36-
"\n",
37-
"And look for the line that starts with `jedi`\n",
38-
" \n",
39-
"```\n",
40-
"jedi 0.18.0\n",
41-
"```\n",
42-
"\n",
43-
"If you see that you have version `0.18.0` installed (as above), then you will want to downgrade it.\n",
44-
"In the same terminal, run the following command\n",
45-
"\n",
46-
"```\n",
47-
"conda install jedi=0.17.2\n",
48-
"```\n",
49-
"You should be all set once you have followed the prompts and the installation has completed!\n",
50-
" \n",
51-
"Note that you will need to repeat this process if you [create a new conda environment](https://www.pythonlikeyoumeanit.com/Module1_GettingStartedWithPython/Installing_Python.html#A-Brief-Introduction-to-Conda-Environments) with IPython/Jupter installed in it.\n",
52-
"</div>\n",
53-
"\n",
5422
"In recent years, the Jupyter Notebook has become a massively popular tool for doing research-oriented work in Python and other languages alike.\n",
5523
"Its emergence marked a paradigm shift in the way data science is conducted. \n",
5624
"\n",
@@ -69,7 +37,7 @@
6937
},
7038
{
7139
"cell_type": "markdown",
72-
"id": "85753bea",
40+
"id": "309812cd",
7341
"metadata": {},
7442
"source": [
7543
"The following instructions are laid out for running a Jupyter notebook server. That being said, the process for running a Jupyter lab server and working with notebooks therein is nearly identical.\n",
@@ -78,7 +46,7 @@
7846
},
7947
{
8048
"cell_type": "markdown",
81-
"id": "c7625997",
49+
"id": "94e10d80",
8250
"metadata": {},
8351
"source": [
8452
"## Running a Notebook Server & Creating a Notebook\n",
@@ -101,7 +69,7 @@
10169
},
10270
{
10371
"cell_type": "markdown",
104-
"id": "4c3c2b57",
72+
"id": "8a692905",
10573
"metadata": {},
10674
"source": [
10775
"You can use this to enter subdirectories and to open up any Jupyter notebooks that you have saved. *You will need to use this file explorer any time that you want to open up a Jupyter notebook, old or new.* In the top-right corner of this window, click on the dropdown menu labeled \"New\", and select the option `Python 3`.\n",
@@ -122,7 +90,7 @@
12290
},
12391
{
12492
"cell_type": "markdown",
125-
"id": "f3a1d63e",
93+
"id": "0b9dba08",
12694
"metadata": {},
12795
"source": [
12896
"## Notebook Cells \n",
@@ -150,7 +118,7 @@
150118
},
151119
{
152120
"cell_type": "markdown",
153-
"id": "525ceb01",
121+
"id": "806a3373",
154122
"metadata": {},
155123
"source": [
156124
"## An Example Notebook\n",
@@ -160,13 +128,13 @@
160128
{
161129
"cell_type": "code",
162130
"execution_count": 1,
163-
"id": "5536be6d",
131+
"id": "006adf4f",
164132
"metadata": {
165133
"execution": {
166-
"iopub.execute_input": "2022-01-30T01:35:47.187863Z",
167-
"iopub.status.busy": "2022-01-30T01:35:47.186868Z",
168-
"iopub.status.idle": "2022-01-30T01:35:48.913556Z",
169-
"shell.execute_reply": "2022-01-30T01:35:48.915556Z"
134+
"iopub.execute_input": "2022-01-31T16:03:49.808358Z",
135+
"iopub.status.busy": "2022-01-31T16:03:49.804349Z",
136+
"iopub.status.idle": "2022-01-31T16:03:51.852436Z",
137+
"shell.execute_reply": "2022-01-31T16:03:51.854425Z"
170138
}
171139
},
172140
"outputs": [],
@@ -181,13 +149,13 @@
181149
{
182150
"cell_type": "code",
183151
"execution_count": 2,
184-
"id": "e0e04672",
152+
"id": "a4b3cf3e",
185153
"metadata": {
186154
"execution": {
187-
"iopub.execute_input": "2022-01-30T01:35:48.922559Z",
188-
"iopub.status.busy": "2022-01-30T01:35:48.921555Z",
189-
"iopub.status.idle": "2022-01-30T01:35:48.929555Z",
190-
"shell.execute_reply": "2022-01-30T01:35:48.930554Z"
155+
"iopub.execute_input": "2022-01-31T16:03:51.868423Z",
156+
"iopub.status.busy": "2022-01-31T16:03:51.863428Z",
157+
"iopub.status.idle": "2022-01-31T16:03:51.885429Z",
158+
"shell.execute_reply": "2022-01-31T16:03:51.883432Z"
191159
}
192160
},
193161
"outputs": [],
@@ -203,13 +171,13 @@
203171
{
204172
"cell_type": "code",
205173
"execution_count": 3,
206-
"id": "b5e62463",
174+
"id": "f994c54c",
207175
"metadata": {
208176
"execution": {
209-
"iopub.execute_input": "2022-01-30T01:35:48.938562Z",
210-
"iopub.status.busy": "2022-01-30T01:35:48.937560Z",
211-
"iopub.status.idle": "2022-01-30T01:35:48.944560Z",
212-
"shell.execute_reply": "2022-01-30T01:35:48.944560Z"
177+
"iopub.execute_input": "2022-01-31T16:03:51.895427Z",
178+
"iopub.status.busy": "2022-01-31T16:03:51.893435Z",
179+
"iopub.status.idle": "2022-01-31T16:03:51.897427Z",
180+
"shell.execute_reply": "2022-01-31T16:03:51.897427Z"
213181
}
214182
},
215183
"outputs": [],
@@ -223,13 +191,13 @@
223191
{
224192
"cell_type": "code",
225193
"execution_count": 4,
226-
"id": "7b37f572",
194+
"id": "35ec7d50",
227195
"metadata": {
228196
"execution": {
229-
"iopub.execute_input": "2022-01-30T01:35:48.962553Z",
230-
"iopub.status.busy": "2022-01-30T01:35:48.961558Z",
231-
"iopub.status.idle": "2022-01-30T01:35:49.703435Z",
232-
"shell.execute_reply": "2022-01-30T01:35:49.704435Z"
197+
"iopub.execute_input": "2022-01-31T16:03:51.904426Z",
198+
"iopub.status.busy": "2022-01-31T16:03:51.903431Z",
199+
"iopub.status.idle": "2022-01-31T16:03:52.704903Z",
200+
"shell.execute_reply": "2022-01-31T16:03:52.704903Z"
233201
}
234202
},
235203
"outputs": [
@@ -262,15 +230,15 @@
262230
},
263231
{
264232
"cell_type": "markdown",
265-
"id": "ecc9417e",
233+
"id": "1fcd4387",
266234
"metadata": {},
267235
"source": [
268236
"Notice that this notebook interface is great for making adjustments to this plot. You can easily change the color or line-style of the plot and redraw it without having to recompute the functions. You simply re-execute the cell containing the plot code. This is especially nice when the numerical computations required to generate the curves are costly."
269237
]
270238
},
271239
{
272240
"cell_type": "markdown",
273-
"id": "5789a537",
241+
"id": "3bc56d7f",
274242
"metadata": {},
275243
"source": [
276244
"## Familiarizing Yourself with Jupyter Notebooks\n",
@@ -312,7 +280,7 @@
312280
},
313281
{
314282
"cell_type": "markdown",
315-
"id": "9eba658f",
283+
"id": "fe2cc7f9",
316284
"metadata": {},
317285
"source": [
318286
"### Using Jupyter Notebooks with Other Languages\n",

docs/Module1_GettingStartedWithPython/Jupyter_Notebooks.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -378,24 +378,6 @@
378378
</style>
379379
<section id="Jupyter-Notebooks">
380380
<h1>Jupyter Notebooks<a class="headerlink" href="#Jupyter-Notebooks" title="Permalink to this headline"></a></h1>
381-
<div class="admonition warning">
382-
<p class="admonition-title fa fa-exclamation-circle"><strong>Before You Start This Section</strong>:</p>
383-
<p>In the following section we will be using IPython or a Jupyter notebook to run our code. Presently, there is an incompatibility with these programs and a Python package called <code class="docutils literal notranslate"><span class="pre">jedi</span></code>, which typically is responsible for performing auto-completions in our code (when prompted by hitting <code class="docutils literal notranslate"><span class="pre">&lt;TAB&gt;</span></code>, which we will be doing below). It is really useful!</p>
384-
<p>First, let’s check to see if we have an incompatible version of <code class="docutils literal notranslate"><span class="pre">jedi</span></code> installed. In your terminal (before starting a Python/IPython/Jupyter session), run</p>
385-
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>conda list
386-
</pre></div>
387-
</div>
388-
<p>And look for the line that starts with <code class="docutils literal notranslate"><span class="pre">jedi</span></code></p>
389-
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>jedi 0.18.0
390-
</pre></div>
391-
</div>
392-
<p>If you see that you have version <code class="docutils literal notranslate"><span class="pre">0.18.0</span></code> installed (as above), then you will want to downgrade it. In the same terminal, run the following command</p>
393-
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>conda install jedi=0.17.2
394-
</pre></div>
395-
</div>
396-
<p>You should be all set once you have followed the prompts and the installation has completed!</p>
397-
<p>Note that you will need to repeat this process if you <a class="reference external" href="https://www.pythonlikeyoumeanit.com/Module1_GettingStartedWithPython/Installing_Python.html#A-Brief-Introduction-to-Conda-Environments">create a new conda environment</a> with IPython/Jupter installed in it.</p>
398-
</div>
399381
<p>In recent years, the Jupyter Notebook has become a massively popular tool for doing research-oriented work in Python and other languages alike. Its emergence marked a paradigm shift in the way data science is conducted.</p>
400382
<p>A Jupyter notebook is similar to the IPython console, but, instead of only being able to work with a single line of code at a time, you can easily edit and re-execute <em>any</em> code that had been written in a notebook. Furthermore, you can save a notebook, and thus return to it later. Additionally, a notebook provides many terrific features. For instance, you can embed visualizations of data within a notebook, and write blocks of nicely-formatted text (using the <a class="reference external" href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet">Markdown
401383
syntax</a>), for presenting and explaining the contents of the notebook.</p>

0 commit comments

Comments
 (0)