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.
28 lines
888 B
28 lines
888 B
1 year ago
|
from typing import Any
|
||
|
import numpy as np
|
||
|
|
||
|
AR_i: np.ndarray[Any, np.dtype[np.int64]]
|
||
|
AR_f: np.ndarray[Any, np.dtype[np.float64]]
|
||
|
AR_c: np.ndarray[Any, np.dtype[np.complex128]]
|
||
|
AR_m: np.ndarray[Any, np.dtype[np.timedelta64]]
|
||
|
AR_M: np.ndarray[Any, np.dtype[np.datetime64]]
|
||
|
|
||
|
AR_f > AR_m # E: Unsupported operand types
|
||
|
AR_c > AR_m # E: Unsupported operand types
|
||
|
|
||
|
AR_m > AR_f # E: Unsupported operand types
|
||
|
AR_m > AR_c # E: Unsupported operand types
|
||
|
|
||
|
AR_i > AR_M # E: Unsupported operand types
|
||
|
AR_f > AR_M # E: Unsupported operand types
|
||
|
AR_m > AR_M # E: Unsupported operand types
|
||
|
|
||
|
AR_M > AR_i # E: Unsupported operand types
|
||
|
AR_M > AR_f # E: Unsupported operand types
|
||
|
AR_M > AR_m # E: Unsupported operand types
|
||
|
|
||
|
AR_i > str() # E: No overload variant
|
||
|
AR_i > bytes() # E: No overload variant
|
||
|
str() > AR_M # E: Unsupported operand types
|
||
|
bytes() > AR_M # E: Unsupported operand types
|