isarray# isarray(obj, dtype=None)[source]# Check whether something is a Numpy array, and optionally check the dtype. Almost the same as isinstance(obj, np.ndarray). Example: sc.isarray(np.array([1,2,3]), dtype=float) # False, dtype is int New in version 1.0.0. New in version 3.1.6: explicit False return