GitHub

Original file line numberDiff line numberDiff line change

@@ -33,7 +33,7 @@ sphinx:

3333

html_theme_options:

3434

authors:

3535

- name: Thomas J. Sargent

36-

url: https://www.tomsargent.com/

36+

url: http://www.tomsargent.com/

3737

- name: John Stachurski

3838

url: https://johnstachurski.net/

3939

dark_logo: quantecon-logo-transparent.png

Original file line numberDiff line numberDiff line change

@@ -311,7 +311,7 @@ But when we want to work with larger arrays in real programs we need more effici

311311

For this we need to use libraries for working with arrays.

312312
313313

For Python, the most important matrix and array processing library is

314-

[NumPy](https://www.numpy.org/) library.

314+

[NumPy](https://numpy.org/) library.

315315
316316

For example, let's build a NumPy array with 100 elements

317317

@@ -365,7 +365,7 @@ This lecture series will provide you with extensive background in NumPy.

365365
366366

### SciPy

367367
368-

The [SciPy](https://www.scipy.org) library is built on top of NumPy and provides additional functionality.

368+

The [SciPy](https://scipy.org/) library is built on top of NumPy and provides additional functionality.

369369
370370

(tuple_unpacking_example)=

371371

For example, let's calculate $\int_{-2}^2 \phi(z) dz$ where $\phi$ is the standard normal density.

Original file line numberDiff line numberDiff line change

@@ -1165,7 +1165,7 @@ np.linalg.inv(A) # Compute the inverse

11651165

```{index} single: Python; SciPy

11661166

```

11671167
1168-

Much of this functionality is also available in [SciPy](https://www.scipy.org/), a collection of modules that are built on top of NumPy.

1168+

Much of this functionality is also available in [SciPy](https://scipy.org/), a collection of modules that are built on top of NumPy.

11691169
11701170

We'll cover the SciPy versions in more detail {doc}`soon <scipy>`.

11711171
Original file line numberDiff line numberDiff line change

@@ -47,7 +47,7 @@ Here's a popularity comparison over time against Matlab and STATA courtesy of St

4747

:scale: 100

4848

```

4949
50-

Just as [NumPy](https://www.numpy.org/) provides the basic array data type plus core array operations, pandas

50+

Just as [NumPy](https://numpy.org/) provides the basic array data type plus core array operations, pandas

5151
5252

1. defines fundamental structures for working with data and

5353

1. endows them with methods that facilitate operations such as

@@ -499,9 +499,9 @@ plt.show()

499499
500500

Python makes it straightforward to query online databases programmatically.

501501
502-

An important database for economists is [FRED](https://research.stlouisfed.org/fred2/) --- a vast collection of time series data maintained by the St. Louis Fed.

502+

An important database for economists is [FRED](https://fred.stlouisfed.org/) --- a vast collection of time series data maintained by the St. Louis Fed.

503503
504-

For example, suppose that we are interested in the [unemployment rate](https://research.stlouisfed.org/fred2/series/UNRATE).

504+

For example, suppose that we are interested in the [unemployment rate](https://fred.stlouisfed.org/series/UNRATE).

505505
506506

(To download the data as a csv, click on the top right `Download` and select the `CSV (data)` option).

507507
Original file line numberDiff line numberDiff line change

@@ -25,7 +25,7 @@ kernelspec:

2525
2626

## Overview

2727
28-

[SciPy](https://www.scipy.org) builds on top of NumPy to provide common tools for scientific programming such as

28+

[SciPy](https://scipy.org/) builds on top of NumPy to provide common tools for scientific programming such as

2929
3030

* [linear algebra](https://docs.scipy.org/doc/scipy/reference/linalg.html)

3131

* [numerical integration](https://docs.scipy.org/doc/scipy/reference/integrate.html)

Read the original on github.com ↗