From aba55c115af7ab983869324ee5745adbae6176c9 Mon Sep 17 00:00:00 2001 From: ChiLin Chiu Date: Tue, 17 Feb 2026 09:47:51 +0800 Subject: [PATCH] docs: fix SparseCSCMatrix docstring Signed-off-by: ChiLin Chiu --- python/pyarrow/tensor.pxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/pyarrow/tensor.pxi b/python/pyarrow/tensor.pxi index 4edbb41339a..8fd6037788f 100644 --- a/python/pyarrow/tensor.pxi +++ b/python/pyarrow/tensor.pxi @@ -984,10 +984,10 @@ shape: {self.shape}""" data : numpy.ndarray Data used to populate the sparse matrix. indptr : numpy.ndarray - Range of the rows, - The i-th row spans from `indptr[i]` to `indptr[i+1]` in the data. + Range of the columns, + The i-th column spans from `indptr[i]` to `indptr[i+1]` in the data. indices : numpy.ndarray - Column indices of the corresponding non-zero values. + Row indices of the corresponding non-zero values. shape : tuple Shape of the matrix. dim_names : list, optional