| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
DEP: Issue deprecation warnings for some imports.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The following modules have been moved or renamed and should not be
imported. This adds shim modules for the old names that issue a
DeprecationWarning on import.
* numpy/core/umath_tests.py
* numpy/testing/decorators.py
* numpy/testing/noseclasses.py
* numpy/testing/nosetester.py
* numpy/testing/utils.py
Closes #10845.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
MAINT: More Histogramdd cleanup
|
| | | | |
| | | | |
| | | | |
| | | | | |
Creates an alias instead
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
array
The result is left as a float, even though it no longer needs to be, as this commit aims not to change behavior.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
len(xy) == N, and we already checked if N == 0 above.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
`x1d[nonzero(mask1d)[0]]` is just a less readable way to spell `x1d[mask1d]`
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT: Post pytest switch cleanup
|
| | | | | | |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / / |
BUG/DOC/MAINT: Tidy up histogramdd
|
| | | |
| | | |
| | | |
| | | | |
Fixes gh-8531
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This also adds support for inferring the range along a subset of the axes, rather than an all or nothing approach.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously gave `ValueError: object too deep for desired array` from an internal call
This also adds support for 0d array bincounts
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This also switches to doing comparisons rather than subtractions, for consistency with np.histogram.
That change is not strictly necessary here as the arguments are not unsigned integer types (unlike in np.histogram), but it would nice to support integer bins in future.
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
TST: Switch to pytest
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Numpy can now be tested using the standard
`python -c"import numpy; numpy.test()"`
construct.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use standard pytest markers everywhere in the numpy tests. At this point
there should be no nose dependency. However, nose is required to test
the legacy decorators if so desired.
At this point, numpy test cannot be run in the way with runtests, rather
installed numpy can be tested with `pytest --pyargs numpy` as long as
that is not run from the repo. Run it from the tools directory or some
such.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Make PytestTester callable.
* Rename 'timer' to 'durations', corresponding with pytest.
* Offset 'verbose', no entry is now '-q'.
* Move some `ignore` warnings into PytestTester so that they
affect releases, not just develop.
|
|\ \ \ \
| | | | |
| | | | | |
DEP: Deprecate np.sum(generator)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #10652
Introduced in a13aad3ac33b629f3e696b4d4d5dbf4b5605d567
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: np.squeeze() now respects older API axis expectation
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Fixes Issue #10779 by removing the interception of
an otherwise normal Exception when an object implemented
with the expectation that squeeze() does not accept an
axis argument receives an axis argument
* Added unit tests that enforce respect for the old API
expectation in objects, and ensure that silent success
(or forced usage of the new API on objects) is no longer
the case
* Updated compatibility notes to explain this change
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: floating types should override tp_print
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes #10753
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DOC: Add remarks about array vs scalar output to every ufunc
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | | |
Some ufuncs already mentioned this, but it seems sensible for all of them to describe it in exactly the same way.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: verify the OS supports avx instruction
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
On some systems you can disable avx registers but the gcc builtin does
only checks if the cpu has the feature.
Before using avx functions check the OS support with xgetbv.
Closes gh-10787
Closes gh-9534
|
| |_|_|_|/ /
|/| | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ENH: Add tester for pytest.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[ci skip]
This is not used yet, but has been tested with temporary changes
and works.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The "bench" testing with the old bench files is no longer supported.
These days we use `runtests.py` and `asv`.
|
| | | | | | | |
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
RISC-V (pronounced "RISC Five") is an open source instruction set
architecture (ISA). The 64-bit version may run the Linux kernel and the
usual stack of applications on top of it, including Python.
This patch adds support for riscv64 to Numpy. With it the full testsuite
passes for both Python 2.7 and 3.6, with the only exception of
test_float (test_numeric.TestBoolCmp). See #8213 for details.
Closes: #8213
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ENH: datetime64: support AC dates starting with '+'
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Numpy allows negatives signs but throws a value error when parsing
datetime strings starting with '+':
>>> np.datetime64('+1000-01-01T00:00:00Z')
ValueError: Error parsing datetime string "+1000-01-01T00:00:00Z" at position 0
Since the default is positive years, we just need to skip the '+'
character.
Fixes #10810.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
ENH: Add "stablesort" option to inp.sort as an alias for "mergesort".
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Closes #10784
|