pymc-devs / pymc-devs/pytensor
Add alias for logical function as called in numpy
Open
Nobody has claimed this yet.
beginner friendly
NumPy compatibility
- Dominant language
- Python
- Stars
- 644
- Forks
- 208
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 16
Description
Description
- pt.eq -> pt.equal
- pt.neq -> pt.not_equal
- pt._and -> pt.logical_and
And so on: https://numpy.org/doc/stable/reference/routines.logic.html
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 by reviewing the existing pt.eq, pt.neq, and pt._and entry points and compare them with NumPy's logic-function list. Determine the remaining aliases needed from the linked NumPy reference. Done means the requested logical functions have consistent NumPy-style names and corresponding tests verify the aliases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100