Skip to content

Commit f3c282b

Browse files
committed
Update inequality.md
add labels to the main text gini coefficient code.
1 parent 73aab7b commit f3c282b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lectures/inequality.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ Let's examine the Gini coefficient in some simulations.
436436
The code below computes the Gini coefficient from a sample.
437437

438438
```{code-cell} ipython3
439+
:label:gini-coefficient
439440
440441
def gini_coefficient(y):
441442
r"""

0 commit comments

Comments
 (0)