| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
BUG: compiler used is env['CC'], then config_vars['CC']
|
| | |
|
|\ \
| | |
| | | |
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
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
TST, MAINT: add lgtm.yml to tweak LGTM.com analysis
|
| | | | | | | |
|
| |/ / / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
TST: including C source line coverage for CI / codecov
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* DOC: reccomend polynomail.Polynomial over np.polyfit
* update from review
* update from review, fix links
* fix from review
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
BUG: deprecation triggers segfault
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Revert use of `console_scripts`.
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The changes introduced in #10463 caused f2py to hang in somde
circumstances. There is may a better fix than this, but
until it is implemented it is better to undo the change.
Closes #11649.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DOC: fix typo in vectorize docstring
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
"an single" typo pointed out by keithbriggs - see gh-11730.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
DOC: fix capitalization of kilojoules
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
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
|
| | | | | | | |
|
| | | | | | | |
|