We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1d5d3 commit 1d2633dCopy full SHA for 1d2633d
lectures/inflation_history.md
@@ -20,9 +20,21 @@ Let's start by installing the necessary Python packages.
20
The `xlrd` package is used by `pandas` to perform operations on Excel files.
21
22
```{code-cell} ipython3
23
+:tags: [hide-output]
24
!pip install xlrd
25
```
26
27
+This lecture also requires `pandas >= 2.1.4`
28
+
29
+```{code-cell} ipython3
30
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
38
We can then import the Python modules we will use.
39
40
0 commit comments