tadeja commented on code in PR #49679:
URL: https://github.com/apache/arrow/pull/49679#discussion_r3051642706
##########
python/pyarrow/_compute_docstrings.py:
##########
@@ -42,6 +42,41 @@
]
"""
+function_doc_additions["search_sorted"] = """
+ Examples
+ --------
+ >>> import pyarrow as pa
+ >>> import pyarrow.compute as pc
+ >>> values = pa.array([1, 1, 3, 5, 8])
+ >>> pc.search_sorted(values, pa.array([0, 1, 4, 9]))
+ <pyarrow.lib.UInt64Array object at ...>
+ [
+ 0,
+ 0,
+ 3,
+ 5
+ ]
Review Comment:
```suggestion
[
0,
0,
3,
5
]
```
@Alex-PLACET just noticing that the elements here require two space chars to
be removed. Similarly for the next two example outputs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]