Skip to content

Commit 3bb103d

Browse files
committed
ensure quantecon is installed for exercise
1 parent f66beab commit 3bb103d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lectures/numpy.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,17 @@ print(A)
14741474

14751475
**Part2**: Move on to replicate the result of the following broadcasting operation. Meanwhile, compare the speeds of broadcasting and the `for` loop you implement.
14761476

1477+
For this part of the exercise you can use the `tic`/`toc` functions from the `quantecon` library to time the execution.
1478+
1479+
Let's make sure this library is installed.
1480+
1481+
```{code-cell} python3
1482+
:tags: [hide-output]
1483+
!pip install quantecon
1484+
```
1485+
1486+
Now we can import the quantecon package.
1487+
14771488
```{code-cell} python3
14781489
import quantecon as qe
14791490

0 commit comments

Comments
 (0)