Skip to content

Commit

Permalink
Add an example notebook using apply_ufunc to vectorize 1D functions (#…
Browse files Browse the repository at this point in the history
…3629)

* apply_ufunc vectorize 1D function example

* Small udpates.

* Review + strip output.

* Minor updates.
  • Loading branch information
dcherian authored Jan 15, 2020
1 parent 9959405 commit f8386be
Show file tree
Hide file tree
Showing 4 changed files with 747 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/requirements/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- jupyter_client
- nbsphinx
- netcdf4
- numba
- numpy
- numpydoc
- pandas<0.25 # Hack around https://github.com/pydata/xarray/issues/3369
Expand Down
7 changes: 7 additions & 0 deletions doc/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ Examples
examples/visualization_gallery
examples/ROMS_ocean_model
examples/ERA5-GRIB-example

Using apply_ufunc
------------------
.. toctree::
:maxdepth: 2

examples/apply_ufunc_vectorize_1d
Loading

0 comments on commit f8386be

Please sign in to comment.