Skip to content

Commit

Permalink
test the problem
Browse files Browse the repository at this point in the history
This commit is to test whether the problem is due to this code.
  • Loading branch information
longye-tian committed Jul 4, 2024
1 parent 3653c62 commit 395657e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lectures/inequality.md
Original file line number Diff line number Diff line change
Expand Up @@ -1091,12 +1091,6 @@ data = df_income_wealth[df_income_wealth.year == 2016]
data.head(n=2)
```

We can first compute the Gini coefficient using the function defined in the lecture above.

```{code-cell} ipython3
gini_coefficient(data.n_wealth.values)
```

Now we can write a vectorized version using `numpy`

```{code-cell} ipython3
Expand Down

0 comments on commit 395657e

Please sign in to comment.