| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
MAINT: fix use of cache_dim and 3->2 fix leftover from removing PyArray_MASKNA_STRIDES
|
| | |
|
|\ \
| | |
| | | |
DOC: Adds documentation for numpy.dtype.base
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Remove all trailing white spaces in pyx files
|
| |/
|/|
| |
| |
| | |
Update pcg jump sizes
Wrap advance when too large
|
|\ \
| | |
| | | |
MAINT/BUG: Manage more files with with statements
|
| | |
| | |
| | |
| | | |
wrong
|
| | | |
|
| | |
| | |
| | |
| | | |
All of this code was already correct, this just tidies it a little
|
|\ \ \
| | | |
| | | | |
MAINT,BUG: More ufunc exception cleanup
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This did not handle exceptions correctly.
Changed to use python to format the exception like all the others in this file.
This also adds quotes around the ufunc name.
|
| |/ /
| | |
| | |
| | | |
This function had one call site, and its last argument was always part of the value passed as the first argument
|
| | |
| | |
| | | |
* test, fix random.choice sum for non-contiguous
|
| | |
| | |
| | |
| | |
| | | |
Without the fix, this test will still pass, but will show up as a
use-after-free when run under valgrind.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The index array is decrefed before extracting the shape to construct the
`indices` array. If the caller does not hold a reference (which happens
when the caller passed a list from which a temporary array was
constructed, for example), this leads to a use-after-free.
Closes #13714.
|
|/ /
| |
| | |
* ENH: pathlib support for fromfile(), .tofile() and .dump()
|
|\ \
| | |
| | | |
MAINT: Collect together the special-casing of 0d non-zero into one place
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
BUG: Ensure Windows choice returns int32
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Downcast from searchsorted on Windows to ensure int32 is returned
closes #9867
|
|\ \ \ \
| | | | |
| | | | | |
BUG: Move ndarray.dump to python and make it close the file it opens
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
As a side-effect, this makes it support kwargs.
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
DOC: Put the useful constants first
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously the constants at the top of the page said words to the effect of "use the one at the bottom of this page instead".
Let's just show users those ones first to start with.
This commit only re-orders these constants, it does not change any of the descriptions, despite the diff appearing to show that
|
|\ \ \ \
| | | | |
| | | | | |
MAINT: Correct masked aliases
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Expose alias that have correct docstrings
closes #10587
|
| |/ /
|/| | |
|
|\ \ \
| | |/
| |/| |
ENH: Pass input strides and dimensions by pointer to const
|
| |/
| |
| |
| |
| |
| |
| | |
This makes it possible to call these functions with constant data.
It also bakes the contract that the data passed via these pointers will not be changed into the function signatures.
This is backwards compatible, because T* can always be passed to a function expecting T const*.
|
|\ \
| | |
| | | |
ENH: Support __length_hint__ in PyArray_FromIter
|
| | |
| | |
| | |
| | |
| | |
| | | |
This should avoid unnecessary allocations when called on iterators that have a good guess of their length.
This API call has been supported since Python 3.4
|
|\ \ \
| | | |
| | | | |
DOC: Remove misleading statement
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
Remove misleading statement about discrete non-integers
closes #12232
|
|\ \ \
| | | |
| | | | |
MAINT: Remove version added from Generator
|
| |/ /
| | |
| | |
| | | |
Remove version added from Generator since this makes no sense
|
|/ /
| |
| | |
* ENH: add offset keyword arg to numpy.fromfile()
|
|\ \
| | |
| | | |
MAINT: Use intrinsics in Win64-PCG64
|
| | |
| | |
| | |
| | | |
Use intrinsics to speed up PCG64 on Windows 64
|
| | |
| | |
| | |
| | |
| | |
| | | |
* DOC, MAINT: Misc. typo fixes
Found via `codespell`
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Fixup of gh-13399 to avoid a regression with pandas. The actual output after this is the same as
before, but incorrect with respect to the output shape. However, it seems a bit larger and an issue
to look at after the 1.17 release.
* BUG: test, fix regression for array([pandas.DataFrame()])
* BUG: refactor to make sure tmp is DECREFfed
|
| |
| |
| |
| |
| |
| | |
RandomState's argument must be named seed for backward compat
closes #13669
|
|\ \
| | |
| | | |
BUG/MAINT: Non-native byteorder in random ints
|
| | |
| | |
| | |
| | |
| | |
| | | |
Warn that non-native byte order is not supported in randint and integers
closes #13159
|
|\ \ \
| | | |
| | | | |
DOC: clarify array_{2string,str,repr} defaults
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Point users to get_printoptions(), which returns the current
print defaults.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Point documentation on default values for array2string, array_str,
and array_repr to set_printoptions. set_printoptions uses the same
defaulting scheme.
|