Anomaly Detection HIstogram Bins
Make the number of bins in the histogram significant because if you do not, python may adjust with floating point arithmetic and sort incorrectly. The bins should signify a set number of ages because age is a discrete variable other than infants under the age of 1. Each bin should have a set number of ages represented like 1 year of age or 2 years of age per bin. You can set the number of bins to the range or half of the range to accomplish this.