discretize_get_bins function

Get the data frame thresholds for discretization