### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Sparse matrices (`scipy.sparse`) »

# scipy.sparse.csr

Compressed Sparse Row matrix format

Functions

`csr_count_blocks`(*args) | csr_count_blocks(int n_row, int n_col, int R, int C, int Ap, int Aj) -> int
`csr_sample_values`(n_row, n_col, Ap, Aj, Ax, ...) |
`csr_tobsr`(n_row, n_col, R, C, Ap, Aj, Ax, ...) |
`csr_tocsc`(n_row, n_col, Ap, Aj, Ax, Bp, Bi, ...) |
`get_csr_submatrix`(n_row, n_col, Ap, Aj, Ax, ...) |
`isintlike`(x) | Is x appropriate as an index into a sparse matrix? Returns True
`isspmatrix_csr`(x) |
`upcast`(*args) | Returns the nearest supported sparse dtype for the combination of one or more types.
`warn`(message[, category, stacklevel]) | Issue a warning, or maybe ignore it or raise an exception.

Classes

`csr_matrix`(arg1[, shape, dtype, copy]) | Compressed Sparse Row matrix

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Sparse matrices (`scipy.sparse`) »