| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
ENH: Allow np.r_ to accept 0d arrays
|
| | |
| |
| |
| | |
It's not at all clear what trans1d is supposed to do here, but it's certainly not supposed to change value between elements!
|
| | |
| |
| |
| | |
Fixes gh-9233
|
| |\ \
| | |
| | | |
(trivial) MAINT: Improve error message for void(-1)
|
| | |/
| |
| |
| | |
Fixes gh-7263
|
| |/ |
|
| |\
| |
| | |
BUG: Fix bugs found by testing in release mode.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
To be complete, the NaT handling needs to raise AssertionError when
comparing NaT's with different types. That check was previously passed
on and the resulting check, which would succeed in development mode
because DeprecationWarning was converted to an error, warns in release
mode.
|
| | |
| |
| |
| |
| |
| |
| | |
The test failed for numpy installed in release mode as the
PendingDeprecationWarning issued by `object.__format__(a, '30')` was no
longer converted to an error. The fix here is to make the test Python
version dependent and suppress the warning when needed.
|
| |\ \
| | |
| | | |
DOC: Fixup percentile docstring, from review in gh-9213
|
| | |/
| |
| |
| | |
Updates the two docstrings to match.
|
| |\ \
| | |
| | | |
DEP: Deprecate the pickle aliases
|
| | |/
| |
| |
| |
| |
| | |
* The np.ma functions are misleading, as they do not actually do anything special for ma.array
* The np.loads functions doesn't even have numpy-specific documentation, and does not behave consistently with `np.load`
* The string overloads of np.ma.load and np.ma.dump do not work well on python 3, as they make assumptions about whether a binary or text pickle file is used (gh-5491)
|
| |\ \
| | |
| | | |
BUG, MAINT: Ufunc reduce reference leak
|
| | | |
| | |
| | |
| | | |
This should help avoid reference leaks in future additions.
|
| | | |
| | |
| | |
| | |
| | | |
Would lead to a reference leak for the case that an invalid axis
is passed in.
|
| |\ \ \
| |/ /
|/| | |
BUG: Fix regression in np.ma.load in gh-10055
|
| | |/ |
|
| |/
|
|
| |
Fixes gh-10181
|
| | |
|
| |
|
|
|
|
| |
Missed in gh-10176.
Already in the non-legacy branch, so no need to gate it here.
|
| |\ |
|
| | | |
|
| |/
|
|
|
|
| |
The available width needs to reduce by one for each dimension, to account for the trailing ] characters
Fixes gh-10170
|
| |
|
|
|
|
| |
The old behaviour is kept under the legacy='1.13' flag, as usual
See tests for the changes.
|
| | |
|
| |
|
|
|
|
|
|
| |
Now:
* Has one recursive base case
* Is fewer lines of code
* Does not rstrip the result of format_function (none of the builtin ones have trailing spaces anyway)
* Recurses in the index, instead of the value, which handles `dtype=object` arrays without the need for the rank argument. This fixes #8442.
|
| | |
|
| |\
| |
| | |
BUG: test, fix problems from PR #9639
|
| | | |
|
| | | |
|
| |\ \
| |/
|/| |
ENH: distutils: add the flang compiler
|
| | |
| |
| |
| |
| |
| | |
Flang is the first CRT-compatbile compiler for windows.
It's added for Python versions with a compatible ABI.
Future work may include adding it for other platforms.
|
| | |
| |
| |
| |
| | |
Autoconfigure libraries and headers when conda is detected
on the path. Also support copenblas and clapack when found.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
The global settings were being used instead
|
| |\ \
| | |
| | | |
BLD: [ipo] compilation error with intel compiler
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
running the intel compiler and not on windows
before checking for the long double representation, as this option causes the compiler to generate intermediary object files
and interferes with checking the representation. This had already been done for MSVC style compilers.
|
| |\ \ \
| | | |
| | | | |
MAINT: Simplify _leading_trailing
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Removes the list comprehensions in favor of numpy primitives.
Now recurses over the indices, not the values.
|
| |\ \ \ \
| | | | |
| | | | | |
ENH: Strip trailing spaces from continuation in multiline arrayprint
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This is otherwise pretty strict about trailing spaces, so we may as well cut them here too, especially since the repr has changed here already.
The newlines look better to me for multi-dimensional arrays too.
|
| |\ \ \ \
| | | | |
| | | | | |
BUG: Fix downcasting in _array2string
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
If there are no elements to remove, _leading_trailing returns a subclass view, rather than its normal behaviour of returning an ndarray copy.
Since we call `asarray` in the other branch of this `if` anyway, we may as well do it in both.
|
| |\ \ \ \
| |/ / /
|/| | | |
BUG: Fix further out-of-bounds accesses when handling 0d ndarrays
|
| | | | | |
|