Skip to content

Commit 6f06333

Browse files
committed
Small edits to tutorials
1 parent 695851d commit 6f06333

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

doc/getting_started/tutorials/02.lazyarray-expressions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@
816816
"source": [
817817
"Combining all this weaponry allows you to query your data quickly. As the computation is lazy, all the operations are grouped and executed together for maximum performance. The only exception is that, when a reduction is found, it is computed eagerly, but it can still be part of more general expressions, and can be saved to and loaded from disk.\n",
818818
"\n",
819-
"Now that we're finished, let's delete the files we wrote to memory to clean up our directory.\n"
819+
"Now that we're finished, let's delete the files we wrote to disk to clean up our directory.\n"
820820
]
821821
},
822822
{

doc/getting_started/tutorials/03.lazyarray-udf.ipynb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,20 @@
299299
"metadata": {},
300300
"source": [
301301
"Incidentally, the pure Python version was faster than Numba. This is because Numba has\n",
302-
"large initialization overheads and the function is quite simple. For more complex functions, or larger arrays, the difference will be less noticeable or indeed favorable to Numba. As an exercise, check at which array size the Numba UDF starts to be competitive. If you're a Numba pro, you may also want to unroll loops within the UDF and see whether you can make it faster."
302+
"large initialization overheads and the function is quite simple. For more complex functions, or larger arrays, the difference will be less noticeable or indeed favorable to Numba. As an exercise, check at which array size the Numba UDF starts to be competitive. If you're a Numba pro, you may also want to unroll loops within the UDF and see whether you can make it faster.\n",
303+
"\n",
304+
"\n",
305+
"Now that we're finished, let's delete the files we wrote to disk to clean up our directory."
306+
]
307+
},
308+
{
309+
"cell_type": "code",
310+
"execution_count": null,
311+
"metadata": {},
312+
"outputs": [],
313+
"source": [
314+
"blosc2.remove_urlpath(\"arr.b2nd\")\n",
315+
"blosc2.remove_urlpath(\"udf.b2nd\")"
303316
]
304317
},
305318
{

0 commit comments

Comments
 (0)