LazyArray#

This is an interface for evaluating an expression or a Python user defined function.

You can get an object following the LazyArray API with any of the following ways:

  • Any expression that involves one or more NDArray objects. e.g. a + b, where a and b are NDArray objects (see a tutorial).

  • Using the lazyexpr constructor.

  • Using the lazyudf constructor (see its tutorial).

See the LazyExpr and LazyUDF sections for more information.

Methods#

__getitem__

Return a NumPy.ndarray containing the evaluation of the LazyArray.

eval

Return a NDArray containing the evaluation of the LazyArray.

save

Save the LazyArray on disk.

LazyExpr#

For getting a LazyArray-compliant object from an expression (à la numexpr), you can use the lazyexpr constructor.

lazyexpr

Get a LazyExpr from an expression.

LazyUDF#

For getting a LazyArray-compliant object from a user-defined Python function, you can use the lazyudf constructor.

lazyudf

Get a LazyUDF from a python user-defined function.