Skip to content

Commit 0555bc0

Browse files
committed
Merge branch 'main' into collab_test
2 parents 29e2605 + 1d2633d commit 0555bc0

File tree

2 files changed

+60
-60
lines changed

2 files changed

+60
-60
lines changed

lectures/inflation_history.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,21 @@ Let's start by installing the necessary Python packages.
2020
The `xlrd` package is used by `pandas` to perform operations on Excel files.
2121

2222
```{code-cell} ipython3
23+
:tags: [hide-output]
2324
!pip install xlrd
2425
```
2526

27+
This lecture also requires `pandas >= 2.1.4`
28+
29+
```{code-cell} ipython3
30+
:tags: [hide-output]
31+
from packaging.version import Version
32+
import pandas as pd
33+
if Version(pd.__version__) < Version('2.1.4'):
34+
!pip install pandas==2.1.4
35+
reload(pandas)
36+
```
37+
2638
We can then import the Python modules we will use.
2739

2840
```{code-cell} ipython3

0 commit comments

Comments
 (0)