| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
Some parameters like pad_width or stat_length claimed to expect tuples-of-tuples as
input, but in practice they also work with single tuples. The parameter descriptions of the
relevant parameters are updated in the docstring to reflect this implicit tuple wrapping
behavior.
Co-authored-by: 渡邉 美希 <miki.watanabe@watanabenoMacBook-Pro.local>
|
| |\
| | |
| | | |
ENH, CI: Add Emscripten to CI
|
| | | |
|
| | |
| | |
| | |
| | | |
Xref https://github.com/numpy/numpy/pull/22456
|
| |/
| |
| |
| | |
Xref https://github.com/numpy/numpy/pull/21468
|
| | |
|
|/ |
|
|\
| |
| | |
DOC: How to partition domains
|
| |
| |
| |
| | |
Also add links to this document from the functions' docstrings.
|
| | |
|
| |
| |
| |
| | |
Not new things, but in touched lines...
|
| |
| |
| |
| |
| |
| |
| |
| | |
In some cases, the replacement is clearly not what is intended,
in those (where setup was called explicitly), I mostly renamed
`setup` to `_setup`.
The `test_ccompile_opt` is a bit confusing, so left it right now
(this will probably fail)
|
| | |
|
| |
| |
| |
| |
| | |
Add date to deprecation in comment
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before:
>>> field = unstructured_to_structured(np.zeros((20, 2)), dtype=[('x', float), ('y', float)]) # failed
>>> field = unstructured_to_structured(np.zeros((20, 2)), dtype=np.dtype([('x', float), ('y', float)])) # success
After:
>>> field = unstructured_to_structured(np.zeros((20, 2)), dtype=[('x', float), ('y', float)]) # success
>>> field = unstructured_to_structured(np.zeros((20, 2)), dtype=np.dtype([('x', float), ('y', float)])) # success
Closes gh-22428
|
| | |
|
|\ \
| | |
| | | |
MAINT: Ensure graceful handling of large header sizes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This ensures graceful handling of large header files. Unfortunately,
it may be a bit inconvenient for users, thus the new kwarg and the
work-around of also accepting allow-pickle.
See also the documation here:
https://docs.python.org/3.10/library/ast.html#ast.literal_eval
|
|\ \ \
| | | |
| | | | |
ENH: allow NumPy created .npy files to be appended in-place
|
| | | | |
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | | |
Explicitly state that only single-character delimiters
are supported.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some BaseExceptions (at least the Skipped that pytest uses) need to
be caught as well. It seems easiest to be practical and keep ignoring
almost all exception in this particular code path.
Effectively reverts parts of gh-19393
Closes gh-22345
Co-authored-by: Sebastian Berg <sebastianb@nvidia.com>
|
|\ \
| | |
| | | |
DOC: fixed two more typos in docstrings
|
| |/
| |
| | |
nanpercentile and nanquantile had the same typo I just fixed in percentile
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* DOC: Make converters param description more concise.
A wording proposal to hopefully make the description of the
converters parameter of loadtxt more clear, and direct readers
to the example section.
* DOC: Combine both suggestions for param descr.
|
|/ |
|
|\
| |
| | |
DOC: updated the description for array-like type in histogramdd (#19823)
|
| | |
|
|\ \
| | |
| | | |
TST: add functional tests for kron
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Currently the location of the function definition is always reported
to be `numpy.lib.utils`; this changes it to be the location of the
actual definition when possible.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Python 3.8, the default start method for multiprocessing has been changed from fork to spawn on macOS
The default start method is still fork on other Unix platforms[1], causing inconsistency on memory sharing model
It will cause a memory-sharing problem for the test test_large_zip on macOS as the memory sharing model between spawn and fork is different
The fix
Change the start method for this test back to fork under this testcase context
In this test case context, the bug that caused default start method changed to spawn for macOS will not be triggered
It is context limited, so this change will not affect default start method other than test_large_zip
All platforms have the same memory sharing model now
After the change, test_large_zip is passed on macOS
https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods
Closes gh-22203
|
|\
| |
| | |
BUG: fix np.average for Fraction elements
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
1. Information is derived with the help of `threadpoolctl` library.
2. In case `threadpoolctl` is not installed, a message is displayed
with help on how to install it.
3. SIMD related information is derived from `__cpu_features__`,
`__cpu_baseline__` and `__cpu_dispatch__`
|
|/
|
|
| |
Co-authored-by: deego <deego3@gmail.com>
|
|
|
|
|
|
|
|
|
| |
The lerp test compared the output of the original and the symmetric
functions by using basic assertion. Double precision errors could
accumulate in a way that the 2 outputs mismatch by epsilon.
For more information on the precision issue, see #22073
Fix: use assert_allclose instead for float comparison.
|
| |
|
|
|
|
| |
This reverts commit 8cd6f4ca00b6e0da3833fc267d50067b2ddbc069.
|
| |
|
|
|
|
|
|
| |
* if you believe the comments that this warning suppression
should be safe to remove after `1.16`, then it should
be safe to remove now?
|
|
|
|
|
|
| |
This enables any ufunc numpy operations that are called on a
MaskedArray to use the masked version of that function automatically
without needing to resort to np.ma.func() calls.
|
| |
|