bundles / numpy 2.4.4 / numpy / lib / _histograms_impl / _get_bin_edges
function
numpy.lib._histograms_impl:_get_bin_edges
Signature
def _get_bin_edges ( a , bins , range , weights ) Summary
Computes the bins used internally by histogram.
Parameters
a: ndarrayRavelled data array
bins, rangeForwarded arguments from histogram.
weights: ndarray, optionalRavelled weights array, or None
Returns
bin_edges: ndarrayArray of bin edges
uniform_bins: (Number, Number, int):The upper bound, lowerbound, and number of bins, used in the optimized implementation of histogram that works on uniform bins.
Aliases
-
numpy.lib._histograms_impl._get_bin_edges