mroeschke opened a new issue, #45341:
URL: https://github.com/apache/arrow/issues/45341

   ### Describe the enhancement requested
   
   I figure that when calling `pyarrow.Array.to_pandas`, there's an effort to 
maintain the zero-copy conversion by making the underlying numpy data not 
writeable.
   
   ```python
   In [4]: import pyarrow as pa
   
   In [5]: import datetime
   
   In [6]: pa.array([datetime.datetime(2020, 1, 
1)]).to_pandas().array._ndarray.flags
   Out[6]: 
     C_CONTIGUOUS : True
     F_CONTIGUOUS : True
     OWNDATA : False
     WRITEABLE : False
     ALIGNED : True
     WRITEBACKIFCOPY : False
   ```
   
   It would be nice if there was an option to allow the underlying data 
writeable like the `writable` option in `to_numpy`
   
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to