blosc2.LazyArray.eval#

abstract LazyArray.eval(item, **kwargs)#

Return a NDArray containing the evaluation of the LazyArray.

Parameters:
  • item (slice, list of slices, optional) – If not None, only the chunks that intersect with the slices in items will be evaluated.

  • kwargs (dict, optional) – Keyword arguments that are supported by the empty() constructor. These arguments will be set in the resulting NDArray.

Returns:

out – A NDArray containing the result of evaluating the LazyUDF or LazyExpr.

Return type:

NDArray

Notes

  • If self is a LazyArray from an udf, the kwargs used to store the resulting array will be the ones passed to the constructor in lazyudf() (except the urlpath) updated with the kwargs passed when calling this method.