Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TYP,BUG: Add annotations for missing `max`, `min` and `round` aliases | Bas van Beek | 2023-05-08 | 1 | -0/+4 |
| | |||||
* | MAINT: Split `numpy.typing` into a public and private component | Bas van Beek | 2022-03-18 | 1 | -1/+1 |
| | | | | i.e. `numpy.typing` and `numpy._typing` | ||||
* | MAINT: Allow `fromnumeric` functions to accept `__index__`-supporting ↵ | Bas van Beek | 2022-02-17 | 1 | -57/+57 |
| | | | | objects instead of just `int` | ||||
* | TYP: Add dtype-typing support to `fromnumeric` part 3 | Bas van Beek | 2022-02-14 | 1 | -16/+346 |
| | |||||
* | TYP: Add dtype-typing support to `fromnumeric` (part 2) | Bas van Beek | 2022-02-09 | 1 | -24/+273 |
| | |||||
* | Merge pull request #20918 from janusheide/add-missing-where-typehints | Bas van Beek | 2022-01-28 | 1 | -0/+14 |
|\ | | | | | TYP: Added missing where typehints in fromnumeric.pyi | ||||
| * | consistency between keyword only where arguments | Janus Heide | 2022-01-28 | 1 | -0/+6 |
| | | |||||
| * | Update numpy/core/fromnumeric.pyi | Janus | 2022-01-28 | 1 | -0/+1 |
| | | | | | | Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com> | ||||
| * | added missing where typehints in fromnumeric.pyi | Janus Heide | 2022-01-27 | 1 | -0/+7 |
| | | |||||
* | | MAINT: Remove a number of outdated/unused comments and variables | Bas van Beek | 2022-01-26 | 1 | -17/+4 |
| | | |||||
* | | TYP,ENH: Add dtype-typing support to `fromnumeric` (part 1) | Bas van Beek | 2022-01-26 | 1 | -26/+130 |
|/ | |||||
* | STY: Use subscriptable `collections.abc` types over the generic aliases in … | Bas van Beek | 2021-12-23 | 1 | -1/+2 |
| | |||||
* | STY: Use subscriptable `builtins` types over the generic aliases in `typing` | Bas van Beek | 2021-12-23 | 1 | -2/+2 |
| | |||||
* | STY: Replace `Union` with the `|` operator | Bas van Beek | 2021-12-22 | 1 | -5/+6 |
| | |||||
* | STY: Replace `Optional` with the `|` operator | Bas van Beek | 2021-12-22 | 1 | -52/+52 |
| | |||||
* | MAINT: Drop .pyi code-paths specific to Python 3.7 | Bas van Beek | 2021-08-30 | 1 | -7/+1 |
| | |||||
* | ENH: Adding keepdims to np.argmin,np.argmax (#19211) | Gagandeep Singh | 2021-07-07 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * keepdims added to np.argmin,np.argmax * Added release notes entry * tested for axis=None,keepdims=True * Apply suggestions from code review * updated interface * updated interface * API changed, implementation to be done * Added reshape approach to C implementation * buggy implementation without reshape * TestArgMax, TestArgMin fixed, comments added * Fixed for matrix * removed unrequired changes * fixed CI failure * fixed linting issue * PyArray_ArgMaxKeepdims now only modifies shape and strides * Comments added to PyArray_ArgMaxKeepdims * Updated implementation of PyArray_ArgMinKeepdims to match with PyArray_ArgMaxKeepdims * Testing complete for PyArray_ArgMinKeepdims and PyArray_ArgMaxKeepdims * PyArray_ArgMinWithKeepdims both keepdims=True and keepdims=False * matched implementation of PyArray_ArgMaxKeepdims and PyArray_ArgMinKeepdims * simplified implementation * Added missing comment * removed unwanted header * addressed all the reviews * Removing unwanted changes * fixed docs * Added new lines * restored annotations * parametrized test * Apply suggestions from code review Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> * keyword handling now done in np.argmin/np.argmax * corrected indendation * used with pytest.riases(ValueError) * fixed release notes * removed PyArray_ArgMaxWithKeepdims and PyArray_ArgMinWithKeepdims from public C-API * Apply suggestions from code review Co-authored-by: Eric Wieser <wieser.eric@gmail.com> * Apply suggestions from code review Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | MAINT: Remove two duplicate (redundant) type aliases | Bas van Beek | 2021-05-12 | 1 | -14/+14 |
| | |||||
* | MAINT: Remove unsafe unions from `np.core.fromnumeric` | Bas van Beek | 2021-04-30 | 1 | -232/+110 |
| | |||||
* | MAINT: Simplify a union | Bas van Beek | 2021-01-18 | 1 | -2/+1 |
| | | | | `_BoolLike_co` is already a subtype of `_IntLike_co`, no nead the use an explicit union here | ||||
* | MAINT: Renamed `<X>Like` to `<X>Like_co` | Bas van Beek | 2021-01-18 | 1 | -16/+16 |
| | |||||
* | ENH: Use `intp` as return type for all appropiate functions | Bas van Beek | 2020-12-22 | 1 | -6/+7 |
| | | | | Since `intp` is now annotated it can be used in place of `signedinteger[Any]` | ||||
* | MAINT: Rename `DtypeLike` to `DTypeLike` | Bas van Beek | 2020-11-03 | 1 | -15/+15 |
| | |||||
* | MAINT: Move aliases for common scalar unions to `numpy.typing` (#17429) | Bas van Beek | 2020-10-07 | 1 | -4/+9 |
| | | | * MAINT: Move the `<scalar>Like` unions to `numpy.typing` | ||||
* | MAINT: Moved a few constants back to `__init__.pyi`; cleaned up their names | Bas van Beek | 2020-09-22 | 1 | -30/+16 |
| | |||||
* | MAINT: Move the `fromnumeric` annotations to their own stub file | Bas van Beek | 2020-09-14 | 1 | -0/+492 |