| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: Fix test sensitive to platform byte order.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The TestMaskedArrayMethods.test_sort_flexible test was failing for for
the subarray checks on big endian systems. That was probably due to
subarrays being sorted as bytestrings. This fixes the test by simply
checking that the sort does not error rather than checking the result.
Closes #11716.
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
BUG: Fix regression in intersect1d.
|
| | | |_|_|/ / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The function was failing for non-ndarray objects that defined
that defined __array__, in particular `xarray.DataArray`. Fix
by calling asanyarray on the inputs, which was done implicitly
before.
Closes #11772.
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
TST: Fix urlopen stubbing.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
setup/teardown doesn't work, but setup_module/teardown_module does, at
least in pytest.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
MAINT: Make assert_array_compare more generic.
|
| | | |_|_|/ / / /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Use np.all instead of the *.all method to be a bit more robust against
bad subclasses of ndarray that may change the behavior of the method.
Closes #11743.
|
| |\ \ \ \ \ \ \ \
| | |_|_|/ / / / /
| |/| | | | | | | |
DOC: Reduce warnings and cleanup redundant c-api documentation
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
test, fix for not checking return value from call to _buffer_format_string, exposed when datetime64 dtype used in a field. Also fixes some variable types to be Py_ssize_t.
* BUG: check return value of _buffer_format_string
* fix from review, document _buffer_format_string
* BUG: Fix type in declaration of old_offset.
Type should be Py_ssize_t.
* MAINT: Explicitly return -1 for error.
* MAINT: Fix typo and style nit.
|
| | |_|_|_|_|_|/
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Fixes for unicode field names in Python 2
* Allow specifying a single comma-separated unicode string of names in np.rec.fromarrays
* Allow sorting on unicode field names.
This addresses some of the problems raised in issue #2407
* Use skipif decorator, check constructed array has correct data
* cleaner isinstance() check, have new tests to run on py3 as well
* Fix silly mistake in test
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
DOC: Small docstring fixes for old polyfit.
|
| | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Remove misleading reference to numpy/polynomial/polynomial/polyfit.
* Add missing period in numpy/polynomial/_polybase.py
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| |/| | | | | | |
BUG: Fix regression in np.loadtxt for bz2 text files in Python 2.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Text bz2 files are not well supported in Python2, and, following the
NumPy upgrade in text handling, loadtxt was raising an error when they
were detected. This led to problems for those few who were using such
files. This patch is a quick fix that issues a RuntimeWarning, then
opens those files under the assumption that they are latin1 encoded.
Caveat emptor.
Closes #11633.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* DOC: reccomend polynomail.Polynomial over np.polyfit
* update from review
* update from review, fix links
* fix from review
|
| | |/ / / / /
| |/| | | | | |
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
MAINT: Remove duplicate docstring and incorrect location of __all__ from np.random
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
np.random
This should fix a lot of LGTM errors
|
| |\ \ \ \ \ \ \
| | |_|_|/ / / /
| |/| | | | | | |
BUG: Fix Fortran kind detection for aarch64 & s390x.
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
BUG: Fix printing of longdouble on ppc64le.
|
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The high and low parts of the IBM double-double always come in the same
order, regardless of the endianness of the system, according to [1].
[1] https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/com.ibm.aix.genprogc/128bit_long_double_floating-point_datatype.htm
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
"an single" typo pointed out by keithbriggs - see gh-11730.
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Spotted by keithbriggs - see: gh-11728.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
ENH: Add support for ipython latex printing to polynomial
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Choices made, and the alternatives rejected (for no particularly strong reason):
1. Show terms in ascending order, to match their internal representation
* alternative: descending, to match convention
2. Shows 0 terms in gray
* alternative: omit entirely
* alternative: show normally to aid comparison
3. Write each term as `basis(ax + b)
* alternative: write as `basis(u) ... where u = ax + b`
* alternative: show the normalized polynomial
In future it would perhaps make sense to expose these options to the end user
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
MAINT: Remove np.pkgload, which seems to be unusable anyway
|
| | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Attempts to use this on either cpython27 or cpython35, in either a shell or a script, gives:
NameError: name '__path__' is not defined
Perhaps I'm calling it wrong, but it might just be broken.
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
DOC: Document average return type
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* fixed grammatical mistakes
* added a space before Example
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* further elaborated the return variable types
* fixed the space error
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | |_|_|_|_|/ / /
| |/| | | | | | | |
MAINT: Make einsum optimize default to False.
|
| | | |_|_|/ / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
False is the documented value and the value used in 1.14, but 1.15.0 was
turning optimization on when there were more than two arguments,
resulting in slowdowns for small matrices. This choice can be revisited
as the einsum optimization code matures.
Closes #11714.
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Both these functions are used by `Dragon4_PrintFloat_IEEE_binary128`,
which was recently made available on big-endian systems without these
in #11568.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
BUG: Add missing PyErr_NoMemory after failing malloc
|
| | | |/ / / /
| | |/| | | | |
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
BUG: Make matrix_power again work for object arrays.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This fixes a regression introduced in #10985. Using matmul instead of
dot lost the object type while adding the ability to deal with matrix
stacks. This implements a partial fix by using dot for 2-D object
arrays, but object array stacks cannot be handled.
Closes #11635.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DOC: Add geomspace to "See also" of linspace
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
MAINT: Remove duplicate code.
|
| | | |/ / / / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The definition of `_complex_types_map` was repeated in the linalg.py
file.
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
MAINT: trivially refactor mapped indexing
|
| | | |/ / / / /
| | |/| | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Replaced <type 'exceptions.ValueError'> with ValueError in the
outdated broadcasting documentation
|