Expose the bin content as ndarray to Python.