bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / lib / _histograms_impl / _get_bin_edges
function
numpy.lib._histograms_impl:_get_bin_edges
source: build-install/usr/lib/python3.14/site-packages/numpy/lib/_histograms_impl.py :356
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