summaryrefslogtreecommitdiff
path: root/numpy/array_api
Commit message (Collapse)AuthorAgeFilesLines
* fix unhashable instance and potential exception identified by LGTMSista Seetaram2021-09-031-1/+1
|
* fixed unhashable instance and potential exception as listed in LGTM#19077Sista Seetaram2021-09-031-1/+1
|
* Remove an unused importAaron Meurer2021-08-231-2/+0
|
* Remove Python 3.7 checks from the array API codeAaron Meurer2021-08-231-5/+0
| | | | | NumPy has dropped Python 3.7, so these are no longer necessary (and they didn't completely work anyway).
* Add smallest_normal to the array API finfoAaron Meurer2021-08-121-6/+2
| | | | This was blocked on #18536, which has been merged.
* Fix the return annotation for numpy.array_api.Array.__setitem__Aaron Meurer2021-08-121-1/+1
|
* Run (selective) black on the array_api submoduleAaron Meurer2021-08-0618-390/+1054
| | | | | | I've omitted a few changes from black that messed up the readability of some complicated if statements that were organized logically line-by-line, and some changes that use unnecessary operator spacing.
* Update the docstring of numpy.array_apiAaron Meurer2021-08-061-38/+41
|
* Fix the array API nonzero() functionAaron Meurer2021-08-061-1/+1
|
* Make the axis argument to squeeze() in the array_api module positional-onlyAaron Meurer2021-08-061-1/+1
| | | | See data-apis/array-api#100.
* Fix the array API unique() functionAaron Meurer2021-08-061-1/+5
|
* Fix the array API __len__ methodAaron Meurer2021-08-061-2/+1
|
* Fix some dictionary key mismatches in the array API testsAaron Meurer2021-08-061-27/+27
|
* Add a setup.py to the array_api submoduleAaron Meurer2021-08-051-0/+10
|
* Give a better error when numpy.array_api is imported in Python 3.7Aaron Meurer2021-08-051-0/+6
|
* Fix casting for the array API concat() and stack()Aaron Meurer2021-08-041-4/+5
|
* Move some imports out of functions to the top of the fileAaron Meurer2021-08-041-3/+4
| | | | | Some of the imports in the array API module have to be inside functions to avoid circular imports, but these ones did not.
* Move the array API dtype categories into the top levelAaron Meurer2021-08-043-26/+17
| | | | | They are not an official part of the spec but are useful for various parts of the implementation.
* Remove unused importAaron Meurer2021-08-041-1/+1
|
* Remove asarray() calls from the array API statistical functionsAaron Meurer2021-08-041-5/+5
| | | | asarray() is already called in Array._new.
* Remove no longer comment about the keepdims argument to argminAaron Meurer2021-08-041-2/+0
|
* Print a warning when importing the numpy.array_api submoduleAaron Meurer2021-08-041-0/+4
|
* Rename numpy._array_api to numpy.array_apiAaron Meurer2021-08-0419-0/+3020
Instead of the leading underscore, the experimentalness of the module will be indicated by omitting a warning on import. That we, we do not have to change the API from underscore to no underscore when the module is no longer experimental.