@xdurch0 answered this question in a comment. The solution is to set axis=1. The numbers aren't actually garbage. I was expecting stuff like 0.123 or 0.543, so I thought they were garbage. They actually do sum up to 1.0.
axis=1