- craftutils.wrap.dragons.Table.Column[item, /]
Return a parametrized wrapper around the ~numpy.ndarray type.
New in version 1.22.
Returns¶
- aliastypes.GenericAlias
A parametrized ~numpy.ndarray type.
Examples¶
>>> from typing import Any >>> import numpy as np>>> np.ndarray[Any, np.dtype[Any]] numpy.ndarray[typing.Any, numpy.dtype[typing.Any]]Notes¶
This method is only available for python 3.9 and later.
See Also¶
PEP 585 : Type hinting generics in standard collections. numpy.typing.NDArray : An ndarray alias generic
w.r.t. its dtype.type <numpy.dtype.type>.