Search
Search Results
Search finished, found 2 page(s) matching the search query.
- Interoperability with NumPy
...oat64, chunksize=(), chunktype=numpy.ndarray> >>> np.mean(np.exp(x)).compute() 5.090097550553843 Note Dask is lazily evaluated, and the result from a computation isn’t computed until you ask for it by invoking compute(). See the Dask ar...
- Standard array subclasses
...hus confusing, as then the subclass would not work at all with ufuncs). ndarray defines its own __array_ufunc__, which, evaluates the ufunc if no arguments have overrides, and returns NotImplemented otherwise. This may be useful for subclas...