powered by
UnivariateGrouping(x, breakpoints)
Returns:
#
Run the code above in your browser using DataLab