We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c419614 commit c2e44cfCopy full SHA for c2e44cf
streamlit_app.py
@@ -133,8 +133,8 @@ def get_gdp_data():
133
col = cols[i % len(cols)]
134
135
with col:
136
- first_gdp = first_year[gdp_df['Country Code'] == country]['GDP'].iat[0] / 1000000000
137
- last_gdp = last_year[gdp_df['Country Code'] == country]['GDP'].iat[0] / 1000000000
+ first_gdp = first_year[first_year['Country Code'] == country]['GDP'].iat[0] / 1000000000
+ last_gdp = last_year[last_year['Country Code'] == country]['GDP'].iat[0] / 1000000000
138
139
if math.isnan(first_gdp):
140
growth = 'n/a'
0 commit comments