Skip to content
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
2 changes: 1 addition & 1 deletion ci/conda_env_sphinx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ breathe
doxygen
ipython
numpydoc
pydata-sphinx-theme=0.14.1
pydata-sphinx-theme=0.14
sphinx-autobuild
sphinx-design
sphinx-copybutton
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
breathe
ipython
numpydoc
pydata-sphinx-theme==0.14.1
pydata-sphinx-theme~=0.14
sphinx-autobuild
sphinx-design
sphinx-copybutton
Expand Down
2 changes: 1 addition & 1 deletion docs/source/python/api/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,4 @@ User-Defined Functions
:toctree: ../generated/

register_scalar_function
ScalarUdfContext
UdfContext
4 changes: 2 additions & 2 deletions docs/source/python/compute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ output type need to be defined. Using :func:`pyarrow.compute.register_scalar_fun

The implementation of a user-defined function always takes a first *context*
parameter (named ``ctx`` in the example above) which is an instance of
:class:`pyarrow.compute.ScalarUdfContext`.
:class:`pyarrow.compute.UdfContext`.
This context exposes several useful attributes, particularly a
:attr:`~pyarrow.compute.ScalarUdfContext.memory_pool` to be used for
:attr:`~pyarrow.compute.UdfContext.memory_pool` to be used for
allocations in the context of the user-defined function.

You can call a user-defined function directly using :func:`pyarrow.compute.call_function`:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/python/pandas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ use the ``datetime64[ns]`` type in Pandas and are converted to an Arrow

.. ipython:: python

df = pd.DataFrame({"datetime": pd.date_range("2020-01-01T00:00:00Z", freq="H", periods=3)})
df = pd.DataFrame({"datetime": pd.date_range("2020-01-01T00:00:00Z", freq="h", periods=3)})
df.dtypes
df

Expand Down