Skip to content

Commit

Permalink
Fix docs for Numba UDFs. (#11020)
Browse files Browse the repository at this point in the history
This PR fixes some documentation links to use rST format so they render correctly in the docs.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - https://github.com/brandon-b-miller

URL: #11020
  • Loading branch information
bdice authored Jun 4, 2022
1 parent 8c728f2 commit 22e3b7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions python/cudf/cudf/core/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3682,12 +3682,11 @@ def apply(
"""
Apply a function along an axis of the DataFrame.
``apply`` relies on Numba to JIT compile ``func``.
Thus the allowed operations within ``func`` are limited
to the ones specified
[here](https://numba.pydata.org/numba-doc/latest/cuda/cudapysupported.html).
For more information, see the cuDF guide
to user defined functions found
[here](https://docs.rapids.ai/api/cudf/stable/user_guide/guide-to-udfs.html).
Thus the allowed operations within ``func`` are limited to `those
supported by the CUDA Python Numba target
<https://numba.pydata.org/numba-doc/latest/cuda/cudapysupported.html>`__.
For more information, see the `cuDF guide to user defined functions
<https://docs.rapids.ai/api/cudf/stable/user_guide/guide-to-udfs.html>`__.
Parameters
----------
Expand Down
11 changes: 5 additions & 6 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2024,12 +2024,11 @@ def apply(self, func, convert_dtype=True, args=(), **kwargs):
Similar to ``pandas.Series.apply``.
``apply`` relies on Numba to JIT compile ``func``.
Thus the allowed operations within ``func`` are limited
to the ones specified
[here](https://numba.pydata.org/numba-doc/latest/cuda/cudapysupported.html).
For more information, see the cuDF guide to
user defined functions found
[here](https://docs.rapids.ai/api/cudf/stable/user_guide/guide-to-udfs.html).
Thus the allowed operations within ``func`` are limited to `those
supported by the CUDA Python Numba target
<https://numba.pydata.org/numba-doc/latest/cuda/cudapysupported.html>`__.
For more information, see the `cuDF guide to user defined functions
<https://docs.rapids.ai/api/cudf/stable/user_guide/guide-to-udfs.html>`__.
Parameters
----------
Expand Down

0 comments on commit 22e3b7c

Please sign in to comment.