You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/reference/lazyarray.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
LazyArray
4
4
=========
5
5
6
-
This is an API interface for evaluating an expression or a Python user defined function.
6
+
This is an API interface for computing an expression or a Python user defined function.
7
7
8
8
You can get an object following the LazyArray API with any of the following ways:
9
9
10
10
* Any expression that involves one or more NDArray objects. e.g. ``a + b``, where ``a`` and ``b`` are NDArray objects (see `this tutorial <../getting_started/tutorials/03.lazyarray-expressions.html>`_).
11
11
* Using the ``lazyexpr`` constructor.
12
12
* Using the ``lazyudf`` constructor (see `a tutorial <../getting_started/tutorials/03.lazyarray-udf.html>`_).
13
13
14
-
The LazyArray object is a thin wrapper around the expression or user-defined function that allows for lazy evaluation. This means that the expression is not evaluated until the ``compute`` or ``__getitem__`` methods are called. The ``compute`` method will return a new NDArray object with the result of the expression evaluation. The ``__getitem__`` method will return an NumPy object instead.
14
+
The LazyArray object is a thin wrapper around the expression or user-defined function that allows for lazy computation. This means that the expression is not computed until the ``compute`` or ``__getitem__`` methods are called. The ``compute`` method will return a new NDArray object with the result of the expression evaluation. The ``__getitem__`` method will return an NumPy object instead.
15
15
16
16
See the `LazyExpr`_ and `LazyUDF`_ sections for more information.
17
17
@@ -38,7 +38,7 @@ LazyExpr
38
38
39
39
An expression like ``a + sum(b)``, where there is at least one NDArray object in operands ``a`` and ``b``, `returns a LazyExpr object <../getting_started/tutorials/03.lazyarray-expressions.html>`_. You can also get a LazyExpr object using the ``lazyexpr`` constructor (see below).
40
40
41
-
This object follows the `LazyArray`_ API for evaluation and storage.
41
+
This object follows the `LazyArray`_ API for computation and storage.
42
42
43
43
.. currentmodule:: blosc2
44
44
@@ -67,7 +67,7 @@ LazyUDF
67
67
68
68
For getting a LazyUDF object (which is LazyArray-compliant) from a user-defined Python function, you can use the lazyudf constructor below. See `a tutorial on how this works <../getting_started/tutorials/03.lazyarray-udf.html>`_.
69
69
70
-
This object follows the `LazyArray`_ API for evaluation, although storage is not supported yet.
70
+
This object follows the `LazyArray`_ API for computation, although storage is not supported yet.
0 commit comments