Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs for Numba UDFs. #11020

Merged
merged 1 commit into from
Jun 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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