Skip to content

Commit 8876b9a

Browse files
committed
clarify _validate_searchsorted_value and 2d backing array
1 parent f4df0e9 commit 8876b9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/source/development/extending.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ Implement the following:
161161

162162
``_validate_searchsorted_value``
163163
Convert a value for use in searching for a value in the backing NumPy array.
164+
Note: in most cases, the implementation can be identical to that of
165+
``_validate_setitem_value``.
164166

165167
.. code-block:: python
166168
@@ -196,7 +198,7 @@ Implement the following:
196198
197199
198200
To support 2D arrays, use the ``_from_backing_data`` helper function when a
199-
method is called on multi-dimensional data.
201+
method is called on multi-dimensional data of the same dtype as ``_ndarray``.
200202

201203
.. code-block:: python
202204

0 commit comments

Comments
 (0)