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 d7c0cd6 commit ec5f5e1Copy full SHA for ec5f5e1
lectures/long_run_growth.md
@@ -100,16 +100,8 @@ data.head()
100
让我们看看这个数据集中有多少经济体。
101
102
```{code-cell} ipython3
103
-regions = data.country.unique()
104
-len(regions)
105
-```
106
-
107
-通过运行上面的代码,我们可以列出这个数据集有多少个经济体。
108
109
-下面,我们将列出这些经济体。
110
111
-```{code-cell} ipython3
112
-regions
+countries = data.country.unique()
+len(countries)
113
```
114
115
我们现在可以继续探索数据集里的169个经济体。
@@ -118,7 +110,7 @@ regions
118
119
120
country_years = []
121
-for country in regions:
+for country in countries:
122
cy_data = data[data.country == country]['year']
123
ymin, ymax = cy_data.min(), cy_data.max()
124
116
country_years.append((country, ymin, ymax))
0 commit comments