Skip to content

Commit f8be489

Browse files
Juan Daniel TorresJuan Daniel Torres
authored andcommitted
Add f and remove unnecesary comment
1 parent e8000d4 commit f8be489

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/tutorial/tutorial.advanced-topics.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ Let us consider the computation below which has a slow but reusable part, and a
379379
```{code-cell} ipython3
380380
import time
381381
382+
def f(x, y):
383+
return (g(x) + h(y))**2
384+
382385
383386
def g(x):
384387
"""Slow but reusable function"""
@@ -392,7 +395,6 @@ def h(x):
392395
```
393396

394397
We need to convert `f` into a dask graph by using `dask.delayed`.
395-
In this example we will show how to send complex tasks to adaptive as coroutines.
396398

397399
```{code-cell} ipython3
398400
from dask import delayed

0 commit comments

Comments
 (0)