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

   ```tbl = pa.Table.from_arrays([pa.array([1,2]), pa.array([1.0, 2.0])], 
names=['f', 'g'])
   df1 = tbl.to_pandas(split_blocks=True)
   df1.loc[0, 'f'] = 100
   ---------------------------------------------------------------------------
   ValueError                                Traceback (most recent call last)
   [<ipython-input-11-3de6d06fe21c>](https://localhost:8080/#) in <module>()
   ----> 1 df1.loc[0, 'f'] = 100
   
   7 frames
   
[/usr/local/lib/python3.7/dist-packages/pandas/core/internals/blocks.py](https://localhost:8080/#)
 in set_inplace(self, locs, values)
       358         create a new array and always creates a new Block.
       359         """
   --> 360         self.values[locs] = values
       361 
       362     def delete(self, loc) -> None:
   
   ValueError: assignment destination is read-only
   ```
   I tried to modify column 'g' (float type) and got the same error as well. 


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