如何注释
ndarray
???
x: ??? = np.array([1, 2, 3], dtype=int)
这样
y = x[0]
被识别为整数而不是
Any
import numpy.typing as npt x: npt.NDArray[np.int64] = np.array([1, 2, 3], dtype=int)