raulcd commented on code in PR #46778: URL: https://github.com/apache/arrow/pull/46778#discussion_r2142900655
########## python/pyarrow/src/arrow/python/helpers.h: ########## @@ -47,6 +47,19 @@ ARROW_PYTHON_EXPORT PyObject* PyFloat_FromHalf(uint16_t value); // \brief Convert a Python object to a half-float uint16_t value. ARROW_PYTHON_EXPORT Result<uint16_t> PyFloat_AsHalf(PyObject* obj); +/// \brief Create an array of evenly spaced values within a given interval. +/// This function is similar to Python's `range` function. +/// The resulting array will contain values starting from `start` up to but not +/// including `stop`, with a step size of `step`. If `step` is zero, the function +/// will return an empty array. Review Comment: that makes sense, we return `Status::Invalid` now -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org