-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Describe the bug, including details regarding any error messages, version, and platform.
The docstring for SparseCSCMatrix.from_numpy in python/pyarrow/tensor.pxi has incorrect parameter descriptions:
arrow/python/pyarrow/tensor.pxi
Lines 978 to 995 in 1114958
| def from_numpy(data, indptr, indices, shape, dim_names=None): | |
| """ | |
| Create arrow::SparseCSCMatrix from numpy.ndarrays | |
| Parameters | |
| ---------- | |
| 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. | |
| indices : numpy.ndarray | |
| Column indices of the corresponding non-zero values. | |
| shape : tuple | |
| Shape of the matrix. | |
| dim_names : list, optional | |
| Names of the dimensions. | |
| """ |
indptris described as "Range of the rows" but should be "Range of the columns"indicesis described as "Column indices" but should be "Row indices"
Component(s)
Documentation
Reactions are currently unavailable