sciPy function stats.binned_statistic () | python