Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Liang <[email protected]>
  • Loading branch information
ericl committed Jul 23, 2022
1 parent 02c23f9 commit d093948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/data/doc_code/key_concepts.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def map_udf(df):
return df

ds = ray.data.read_parquet("example://iris.parquet") \
.experimental_lazy() \
.lazy() \
.map_batches(map_udf) \
.filter(lambda row: row["sepal.area"] > 15)
# __block_move_end__
Expand Down
2 changes: 1 addition & 1 deletion doc/source/data/memory-management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ That's why Datasets offers a lazy execution mode, which you can transition to af
you're done prototyping your Datasets pipeline.

Lazy execution mode can be enabled by calling
:meth:`ds = ds.experimental_lazy() <ray.data.Dataset.experimental_lazy()>`, which
:meth:`ds = ds.lazy() <ray.data.Dataset.lazy()>`, which
returns a dataset whose all subsequent operations will be **lazy**. These operations
won't be executed until the dataset is consumed (e.g. via
:meth:`ds.take() <ray.data.Dataset.take>`,
Expand Down

0 comments on commit d093948

Please sign in to comment.