jorisvandenbossche commented on a change in pull request #11479:
URL: https://github.com/apache/arrow/pull/11479#discussion_r737308162



##########
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:
       Indeed, changing the working directory would be another way to do this, 
I was also just thinking about that while answer the previous comment. 
   
   I would need to check if we can do it globally (eg in conf.py) or if needs 
to be done in every file (I don't know how such a changed working directory 
gets preserved across IPython interactive sessions that run those examples 
while building, will have to check that)




-- 
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]


Reply via email to