We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cddf75 commit fddad79Copy full SHA for fddad79
pandas/core/arrays/arrow/array.py
@@ -520,7 +520,7 @@ def _box_pa_array(
520
)
521
mask = dta.isna()
522
value_i8 = dta.view("i8")
523
- if not value_i8.flags["WRITEABLE"]:
+ if not np.asarray(value_i8).flags["WRITEABLE"]:
524
# e.g. test_setitem_frame_2d_values
525
value_i8 = value_i8.copy()
526
dta = DatetimeArray._from_sequence(value_i8, dtype=dta.dtype)
0 commit comments