A pure node

All 1010 cases in a node belong to one class. What is the Gini index?

One proportion is 11 and the others are 00, so 1−∑p^g2=01-\sum\hat p_g^2=0. Two draws from the node always match.