You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
367 B
13 lines
367 B
1 year ago
|
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)) # E: incompatible type
|
||
|
|
||
|
np.histogram(AR_i8, range=(0, 1, 2)) # E: incompatible type
|
||
|
|
||
|
np.histogramdd(AR_i8, range=(0, 1)) # E: incompatible type
|
||
|
np.histogramdd(AR_i8, range=[(0, 1, 2)]) # E: incompatible type
|