amol- commented on a change in pull request #11479:
URL: https://github.com/apache/arrow/pull/11479#discussion_r737280808
##########
File path: docs/source/python/dataset.rst
##########
@@ -66,7 +66,7 @@ of a directory with two parquet files:
import pyarrow.parquet as pq
import numpy as np
- base = pathlib.Path(tempfile.gettempdir())
+ base = pathlib.Path(tempfile.mkdtemp(prefix="pyarrow-"))
Review comment:
I wonder if we can set a best practice or some automation that would
prevent the examples writer from having to pay attention.
For example, would it be possible to do a `os.chdir` to a temporary
directory when we start building the documentation so that all files are
written there and we don't have to care case by case?
--
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]