Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lectures/inflation_history.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,21 @@ Let's start by installing the necessary Python packages.
The `xlrd` package is used by `pandas` to perform operations on Excel files.

```{code-cell} ipython3
:tags: [hide-output]
!pip install xlrd
```

This lecture also requires `pandas >= 2.1.4`

```{code-cell} ipython3
:tags: [hide-output]
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