You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following #4899, we can now make the NDArray type hints more specific by adding dtype of the array. For instance, something like npt.NDArray[np.float64] or npt.NDArray[float].
Ideally, all the npt.NDArray type hints should have an explicit dtype (even if it is Any).
The text was updated successfully, but these errors were encountered:
Following #4899, we can now make the
NDArray
type hints more specific by addingdtype
of the array. For instance, something likenpt.NDArray[np.float64]
ornpt.NDArray[float]
.Ideally, all the
npt.NDArray
type hints should have an explicitdtype
(even if it isAny
).The text was updated successfully, but these errors were encountered: