| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* add unit test for setdiff1d covering code
path where assume_unique is True
* remove setdiff1d docstring guarantee that
returned value is sorted -- it is not
|
| |
|
|\
| |
| | |
MAINT: Move NPY_SETREF to somewhere more reusable
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* add unit tests to probe previously-uncovered
code paths in byte_bounds() that handle both
positive and negative strides in non-contiguous
arrays (or, at least, arrays with unusual ordering)
|
| | |
|
| |
| |
| |
| |
| |
| | |
* add a unit test for an uncovered code path
where a histogram array does not match the
shape of the provided array of weights
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ENH: __array_function__ support for np.fft and np.linalg
xref GH12028
* CLN: remove unnecessary dispatcher functions from np.linalg
* CLN: remove more unneeded dispatchers
* CLN: remove repeated dispatchers from np.linalg
|
|\ \
| | |
| | | |
BUG: have geometric() raise ValueError on p=0
|
| | |
| | |
| | | |
Currently `np.random.geometric(0) => -9223372036854775808`
|
|\ \ \
| | | |
| | | | |
BUG: Make `random.shuffle` work on 1-D instances of `ndarray` subclasses
|
| | | |
| | | |
| | | |
| | | | |
Closes #11442.
|
|\ \ \ \
| | | | |
| | | | | |
ENH: __array_function__ support for np.lib, part 1/2
|
| | | | |
| | | | |
| | | | |
| | | | | |
np.lib.arraypad through np.lib.nanfunctions
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ENH: __array_function__ support for most of numpy.core
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
With the notable exceptions of np.einsum and np.block.
xref GH12028
|
|\ \ \ \ \
| | |_|_|/
| |/| | | |
MAINT: Move duplicated type_reso_error code into a helper function
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
TST: error tests for fill_diagonal()
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* add error handling tests for previously
uncovered code in fill_diagonal()
|
|\ \ \ \ \
| | | | | |
| | | | | | |
TST: error tests for diag_indices_from()
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
* add unit tests for previously uncovered
error handling code in diag_indices_from()
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
DOC: Remove duplicated sentence in numpy.multiply
|
| | | | |
| | | | |
| | | | |
| | | | | |
The return value documentation was duplicated.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ENH: implementation of array_reduce_ex
|
| |/ / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
BUG: Allow boolean subtract in histogram
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Convert bool to uint at start, rather than attempt a XOR
Only check type against np.bool_
Refactor warnings check
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT, TST refactor pickle imports and tests
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
All imports of pickle from numpy modules are now done this way:
>>> from numpy.core.numeric import pickle
Also, some loops on protocol numbers are added over pickle tests that
were not caught from #12090
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DEP: deprecate asscalar
|
| | | | | | | |
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Fix memory leak in mapping.c
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix missing DECREF before successful return.
Closes #12037.
|
| | | | | | | |
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Alter test to check if arrays are the same to avoid in-place of some
array-like objects
closes #11975
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ENH: check getfield arguments to prevent invalid memory access
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* add additional test cases for test_issctype
requested by @eric-wieser in gh-12109
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
MAINT: Ensure that a copy of the array is returned when calling `block`.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In the case that a user calls
np.block(array),
the old block function would return a view into the array.
This ensures that a new array is returned
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: limit default for get_num_build_jobs() to 8
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The default value for get_num_build_jobs() is now the number of CPUs
limited to a maximum of 8. This is to prevent overloading systems
with a lot of CPUs. See ticket #12087
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
TST: add unit test for issctype
|
| | |_|/ / / /
| |/| | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Validate dispatcher functions in array_function_dispatch
They should have the same signature as the decorated function.
Note: eventually these checks should be optional -- we really only need them
to be run as part of NumPy's test suite, not every time numpy is imported.
* ENH: make signature checking in array_function_dispatch optional
* Change verify_signature keyword argument to verify
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
MNT Update pickling test by making them loop over all protocols
|