Commit 228919e
BUG: fix bins normalization in value_counts after refactoring
The previous change to avoid unnecessary to_numpy conversion broke
normalization when bins is used. Bins normalization should divide by
the total input length, not the sum of counts in bins.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 4facd99 commit 228919e
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
900 | 903 | | |
| 904 | + | |
901 | 905 | | |
902 | 906 | | |
903 | 907 | | |
| |||
925 | 929 | | |
926 | 930 | | |
927 | 931 | | |
928 | | - | |
929 | | - | |
| 932 | + | |
930 | 933 | | |
931 | 934 | | |
932 | 935 | | |
| |||
940 | 943 | | |
941 | 944 | | |
942 | 945 | | |
943 | | - | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
944 | 950 | | |
945 | 951 | | |
946 | 952 | | |
| |||
0 commit comments