RFC deprecate numpy.matrix
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 32.8k
- Forks
- 12.8k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 197
Description
It has been mentioned here and there, but I don't find any "official" document about it. Is there a plan to deprecate and finally remove numpy.matrix?
A clear plan would also help with the scipy.sparse transition from sparse matrices to sparse arrays, see https://github.com/scipy/scipy/issues/24802 and https://github.com/scikit-learn/scikit-learn/pull/31177 (in the sense when to remove sparse matrices at the latest).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the request in this issue and compare the linked SciPy issue #24802 and scikit-learn pull request #31177. Establish whether an official deprecation and removal timeline for numpy.matrix can be documented, including the implications for sparse-matrix transitions. Done means the plan and dependencies are clearly recorded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100