Syntax alignment with numpy
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I just found this repository as I need to use a sparse data format inside numba functions. In my exisiting code using numpy arrays I mainly need row indexing and dot products.
Is there a possibility to use csr with the same syntax for these functions? So having sth like A[i,:] which works when A would be a standard numpy array but also when A is a csr.CSR object? This would help me to avoid a lot of duplicate code.
Thank you for your help!
Contributor guide
No contributing guide indexed for this repository
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 by reviewing the csr.CSR entry points for row indexing and dot products, then compare their supported syntax with NumPy arrays. The issue does not name specific files or tests, and completion would require defining the scope of compatible A[i,:] and related operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100