From 497769ccbea7108e77adf924501914f2b13b85ea Mon Sep 17 00:00:00 2001 From: Jingyi Zhao Date: Mon, 20 Jul 2026 08:22:10 -0700 Subject: [PATCH] GH-49384: [Python] Respect copy=True in ChunkedArray.__array__ --- python/pyarrow/table.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/table.pxi b/python/pyarrow/table.pxi index 1abe4235c411..0563765f1227 100644 --- a/python/pyarrow/table.pxi +++ b/python/pyarrow/table.pxi @@ -556,7 +556,7 @@ cdef class ChunkedArray(_PandasConvertible): "`np.asarray(obj)` to allow a copy when needed" ) # 'copy' can further be ignored because to_numpy() already returns a copy - values = self.to_numpy() + values = self.to_numpy().copy() if dtype is None: return values return values.astype(dtype, copy=False)