Skip to content

Commit edb76c6

Browse files
committed
minor updates to code output
1 parent 54d9de5 commit edb76c6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lectures/inequality.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ For each of these measures, we will look at both simulated and real data.
6464
We will need to install the following packages
6565

6666
```{code-cell} ipython3
67+
:tags: [hide-output]
6768
!pip install wbgapi
6869
```
6970

@@ -582,7 +583,6 @@ plt.show()
582583
Looking at this graph you can see that inequality was falling in the USA until 1981 when it appears to have started to change course and steadily rise over time (growing inequality).
583584
584585
```{admonition} TODO
585-
:class: warning
586586
Why did GINI fall in 2020? I would have thought it accelerate in the other direction or was there a lag in investment returns around COVID
587587
```
588588
@@ -633,10 +633,7 @@ results.to_csv("_static/lecture_specific/inequality/usa-gini-nwealth-tincome-lin
633633
634634
```{code-cell} ipython3
635635
ginis = pd.read_csv("_static/lecture_specific/inequality/usa-gini-nwealth-tincome-lincome.csv", index_col='year')
636-
```
637-
638-
```{code-cell} ipython3
639-
ginis
636+
ginis.head(n=5)
640637
```
641638
642639
Let's plot the Gini coefficients for net wealth, labor income and total income.

0 commit comments

Comments
 (0)