Skip to content

Commit

Permalink
[inflation_history] FIX: compat with Google Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky committed May 8, 2024
1 parent 3c5585a commit 8948fff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lectures/inflation_history.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ The `xlrd` package is used by `pandas` to perform operations on Excel files.
!pip install xlrd
```

This lecture also requires `pandas >= 2.1.4`

```{code-cell} ipython3
from packaging.version import Version
import pandas as pd
if Version(pd.__version__) < Version('2.1.4'):
!pip install pandas==2.1.4
reload(pandas)
```

We can then import the Python modules we will use.

```{code-cell} ipython3
Expand Down

0 comments on commit 8948fff

Please sign in to comment.