Skip to content

Commit f8386be

Browse files
authored
Add an example notebook using apply_ufunc to vectorize 1D functions (#3629)
* apply_ufunc vectorize 1D function example * Small udpates. * Review + strip output. * Minor updates.
1 parent 9959405 commit f8386be

File tree

4 files changed

+747
-0
lines changed

4 files changed

+747
-0
lines changed

ci/requirements/doc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies:
1414
- jupyter_client
1515
- nbsphinx
1616
- netcdf4
17+
- numba
1718
- numpy
1819
- numpydoc
1920
- pandas<0.25 # Hack around https://github.com/pydata/xarray/issues/3369

doc/examples.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ Examples
1010
examples/visualization_gallery
1111
examples/ROMS_ocean_model
1212
examples/ERA5-GRIB-example
13+
14+
Using apply_ufunc
15+
------------------
16+
.. toctree::
17+
:maxdepth: 2
18+
19+
examples/apply_ufunc_vectorize_1d

0 commit comments

Comments
 (0)