I need to calculate the Chi-Squared of
CAT Label 0 A 0.0 1 A 0.0 2 B 1.0 4 A 0.0 6 B 0.0 ... ... ... 3566 C 0.0 3567 A 0.0 3568