human
I wrote the below code

    _bins = numpy.linspace(min, max, (bins + 1))
    def _hist(vals):
        return numpy.histogram(vals, _bins)[0]
    return labeled_comprehension(input, labels, index, _hist, object, None, pass_positions=False)

What's a good function header?
assistant
#Here's a good function header.

def histogram(input, min, max, bins, labels=None, index=None):