File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ kernelspec:
17
17
18
18
This lecture offers some historical evidence about fluctuations in levels of aggregate price indexes.
19
19
20
- Let's start by installing the necessary Python packages, which will be needed to extract information and perform operations on Excel files.
20
+ Let's start by installing the necessary Python packages.
21
+
22
+ The ` xlrd ` package is used by ` pandas ` to perform operations on Excel files.
21
23
22
24
``` {code-cell} ipython3
23
25
!pip install xlrd
@@ -168,9 +170,9 @@ for col in cols:
168
170
y=df_fig5[col].iloc[-1], s=col)
169
171
170
172
ax.set_yscale('log')
171
- ax.set_ylabel('Logged Price Levels (Index 1913 = 100)')
173
+ ax.set_ylabel('Logs of price levels (Index 1913 = 100)')
172
174
ax.set_ylim([10, 1e6])
173
- ax.set_xlabel('Year ')
175
+ ax.set_xlabel('year ')
174
176
ax.set_xlim(xmin=1600)
175
177
plt.tight_layout()
176
178
plt.show()
You can’t perform that action at this time.
0 commit comments