AlenkaF commented on code in PR #48619: URL: https://github.com/apache/arrow/pull/48619#discussion_r2703939813
########## docs/source/python/compute.rst: ########## @@ -45,14 +47,14 @@ Many compute functions support both array (chunked or not) and scalar inputs, but some will mandate either. For example, ``sort_indices`` requires its first and only input to be an array. -Below are a few simple examples:: +Below are a few simple examples: + +.. code-block:: python - >>> import pyarrow as pa - >>> import pyarrow.compute as pc Review Comment: As this is a User Guide, I think the content should flow as in a notebook for example. Meaning we start at the beginning and work our way through. Even if duplicating imports would be beneficial, we might then need to add it on every code-block or on every section? Which makes it a bit unclear to me. -- 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]
