zcollection.type_hints.ArrayLike#
- class zcollection.type_hints.ArrayLike(*args, **kwargs)[source]#
Bases:
Protocol[_DType_co]Protocol for array-like objects.
Attributes
Public Methods
astype(dtype)Convert the array to a given type.
Protected Methods
Special Methods
__subclasshook__(other)Abstract classes can override this to customize issubclass().