Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
comparisons.pyi28 linesDownload Raw Back to fail
1import numpy as np
2import numpy.typing as npt
3
4AR_i: npt.NDArray[np.int64]
5AR_f: npt.NDArray[np.float64]
6AR_c: npt.NDArray[np.complex128]
7AR_m: npt.NDArray[np.timedelta64]
8AR_M: npt.NDArray[np.datetime64]
9
10AR_f > AR_m  # type: ignore[operator]
11AR_c > AR_m  # type: ignore[operator]
12
13AR_m > AR_f  # type: ignore[operator]
14AR_m > AR_c  # type: ignore[operator]
15
16AR_i > AR_M  # type: ignore[operator]
17AR_f > AR_M  # type: ignore[operator]
18AR_m > AR_M  # type: ignore[operator]
19
20AR_M > AR_i  # type: ignore[operator]
21AR_M > AR_f  # type: ignore[operator]
22AR_M > AR_m  # type: ignore[operator]
23
24AR_i > ""  # type: ignore[operator]
25AR_i > b""  # type: ignore[operator]
26"" > AR_M  # type: ignore[operator]
27b"" > AR_M  # type: ignore[operator]
28 
codekingpro/portable-devtools · Team Ai