hyb
2025-10-24 43c4449e6c9231446895ad26d169825ca7a65c9a
1
2
3
4
5
6
7
8
9
10
11
12
import numpy as np
import numpy.typing as npt
 
AR_i8: npt.NDArray[np.int64]
AR_f8: npt.NDArray[np.float64]
 
np.histogram_bin_edges(AR_i8, range=(0, 1, 2))  # type: ignore[arg-type]
 
np.histogram(AR_i8, range=(0, 1, 2))  # type: ignore[arg-type]
 
np.histogramdd(AR_i8, range=(0, 1))  # type: ignore[arg-type]
np.histogramdd(AR_i8, range=[(0, 1, 2)])  # type: ignore[list-item]