Skip to content

Commit 3e8fe17

Browse files
committed
update sources from tomyst(b50a6e0)
1 parent 05801da commit 3e8fe17

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

source/rst/about_py.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Python has experienced rapid adoption in the last decade and is now one of the m
5757

5858
### Common Uses
5959

60-
Python is a general-purpose language used in almost all application domains such as
60+
{index}`Python <single: Python; common uses>` is a general-purpose language used in almost all application domains such as
6161

6262
* communications
6363
* web development

source/rst/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ As a practice run, please execute the following
9090
For more information on conda, type conda help in a terminal.
9191

9292
(ipython_notebook)=
93-
## Jupyter Notebooks
93+
## {index}`Jupyter Notebooks <single: Jupyter Notebooks>`
9494

9595
```{index} single: Python; IPython
9696
```
@@ -422,7 +422,7 @@ following questions:
422422
1. how should you execute it?
423423
1. How should you modify or edit it?
424424

425-
#### Option 1: JupyterLab
425+
#### Option 1: {index}`JupyterLab <single: JupyterLab>`
426426

427427
```{index} single: JupyterLab
428428
```

source/rst/matplotlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernelspec:
1818
</div>
1919
```
2020

21-
# Matplotlib
21+
# {index}`Matplotlib <single: Matplotlib>`
2222

2323
```{index} single: Python; Matplotlib
2424
```

source/rst/need_for_speed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ In fact, it's generally true that memory traffic is a major culprit when it come
257257

258258
Let's look at some ways around these problems.
259259

260-
## Vectorization
260+
## {index}`Vectorization <single: Vectorization>`
261261

262262
```{index} single: Python; Vectorization
263263
```

source/rst/numba.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Numba will be a key part of our lectures --- especially those lectures involving
7777
This lecture introduces the main ideas.
7878

7979
(numba_link)=
80-
## Compiling Functions
80+
## {index}`Compiling Functions <single: Compiling Functions>`
8181

8282
```{index} single: Python; Numba
8383
```

source/rst/numpy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernelspec:
1818
</div>
1919
```
2020

21-
# NumPy
21+
# {index}`NumPy <single: NumPy>`
2222

2323
```{index} single: Python; NumPy
2424
```

source/rst/pandas.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernelspec:
1818
</div>
1919
```
2020

21-
# Pandas
21+
# {index}`Pandas <single: Pandas>`
2222

2323
```{index} single: Python; Pandas
2424
```
@@ -305,7 +305,7 @@ This can be done with a variety of methods.
305305

306306
We start with a relatively low-level method and then return to pandas.
307307

308-
### Accessing Data with requests
308+
### Accessing Data with {index}`requests <single: requests>`
309309

310310
```{index} single: Python; requests
311311
```
@@ -384,7 +384,7 @@ Note that pandas offers many other file type alternatives.
384384

385385
Pandas has [a wide variety](https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html) of top-level methods that we can use to read, excel, json, parquet or plug straight into a database server.
386386

387-
### Using pandas_datareader to Access Data
387+
### Using {index}`pandas_datareader <single: pandas_datareader>` to Access Data
388388

389389
```{index} single: Python; pandas-datareader
390390
```

source/rst/python_advanced_features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ Next `g` is called via `y = g(10)`, leading to the following sequence of actions
707707
Note that the global `a` was not affected by the local `a`.
708708

709709
(mutable_vs_immutable)=
710-
### Mutable Versus Immutable Parameters
710+
### {index}`Mutable <single: Mutable>` Versus {index}`Immutable <single: Immutable>` Parameters
711711

712712
This is a good time to say a little more about mutable vs immutable objects.
713713

source/rst/python_oop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernelspec:
1818
</div>
1919
```
2020

21-
# OOP II: Building Classes
21+
# {index}`OOP II: Building Classes <single: OOP II: Building Classes>`
2222

2323
```{index} single: Python; Object-Oriented Programming
2424
```

source/rst/scipy.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernelspec:
1818
</div>
1919
```
2020

21-
# SciPy
21+
# {index}`SciPy <single: SciPy>`
2222

2323
```{index} single: Python; SciPy
2424
```
@@ -49,7 +49,7 @@ A more common approach is to get some idea of what's in the library and then loo
4949

5050
In this lecture, we aim only to highlight some useful parts of the package.
5151

52-
## SciPy versus NumPy
52+
## {index}`SciPy <single: SciPy>` versus {index}`NumPy <single: NumPy>`
5353

5454
SciPy is a package that contains various tools that are built on top of NumPy, using its array data type and related functionality.
5555

@@ -214,7 +214,7 @@ The unique root is approximately 0.408.
214214

215215
Let's consider some numerical techniques for finding roots.
216216

217-
### Bisection
217+
### {index}`Bisection <single: Bisection>`
218218

219219
```{index} single: SciPy; Bisection
220220
```
@@ -271,7 +271,7 @@ from scipy.optimize import bisect
271271
bisect(f, 0, 1)
272272
```
273273

274-
### The Newton-Raphson Method
274+
### The {index}`Newton-Raphson Method <single: Newton-Raphson Method>`
275275

276276
```{index} single: SciPy; Newton-Raphson Method
277277
```
@@ -358,7 +358,7 @@ fixed_point(lambda x: x**2, 10.0) # 10.0 is an initial guess
358358
If you don't get good results, you can always switch back to the `brentq` root finder, since
359359
the fixed point of a function $f$ is the root of $g(x) := x - f(x)$.
360360

361-
## Optimization
361+
## {index}`Optimization <single: Optimization>`
362362

363363
```{index} single: SciPy; Optimization
364364
```
@@ -393,7 +393,7 @@ Constrained multivariate local optimizers include `fmin_l_bfgs_b`, `fmin_tnc`, `
393393

394394
See the [documentation](http://docs.scipy.org/doc/scipy/reference/optimize.html) for details.
395395

396-
## Integration
396+
## {index}`Integration <single: Integration>`
397397

398398
```{index} single: SciPy; Integration
399399
```
@@ -423,7 +423,7 @@ There are also functions for multivariate integration.
423423

424424
See the [documentation](http://docs.scipy.org/doc/scipy/reference/integrate.html) for more details.
425425

426-
## Linear Algebra
426+
## {index}`Linear Algebra <single: Linear Algebra>`
427427

428428
```{index} single: SciPy; Linear Algebra
429429
```

0 commit comments

Comments
 (0)