Skip to content

Commit fddad79

Browse files
committed
mypy fixup
1 parent 9cddf75 commit fddad79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/arrow/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def _box_pa_array(
520520
)
521521
mask = dta.isna()
522522
value_i8 = dta.view("i8")
523-
if not value_i8.flags["WRITEABLE"]:
523+
if not np.asarray(value_i8).flags["WRITEABLE"]:
524524
# e.g. test_setitem_frame_2d_values
525525
value_i8 = value_i8.copy()
526526
dta = DatetimeArray._from_sequence(value_i8, dtype=dta.dtype)

0 commit comments

Comments
 (0)