Skip to content

GH-43352: [Docs][Python] Add all tensor classes documentation#49147

Open
chilin0525 wants to merge 2 commits intoapache:mainfrom
chilin0525:add_tensor_document
Open

GH-43352: [Docs][Python] Add all tensor classes documentation#49147
chilin0525 wants to merge 2 commits intoapache:mainfrom
chilin0525:add_tensor_document

Conversation

@chilin0525
Copy link
Contributor

@chilin0525 chilin0525 commented Feb 4, 2026

Rationale for this change

Sparse tensor classes (SparseCOOTensor, SparseCSRMatrix, SparseCSCMatrix, SparseCSFTensor) lack API documentation.

What changes are included in this PR?

  • Add class docstrings with format descriptions and examples for all sparse tensor classes
  • Add sparse tensor classes to tables.rst for API reference generation

Are these changes tested?

Yes, result example:

截圖 2026-02-04 23 49 49

Are there any user-facing changes?

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant