| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Bumps [pydata-sphinx-theme](https://github.com/pandas-dev/pydata-sphinx-theme) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/pandas-dev/pydata-sphinx-theme/releases)
- [Commits](https://github.com/pandas-dev/pydata-sphinx-theme/compare/v0.3.2...v0.4.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
|\
| |
| | |
BUG: Fix dimension discovery of within array ragged cases
|
| |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When `np.array(...)` finds a shape mismatch while inspecting
an array (or array-like), the current logic is to use only
part of those dimensions (as many as possible).
This case was buggy in the new code, and is now fixed.
In general, we may want to change the logic here, e.g. to
always strip all dimensions of that array (allowing an object
array of arrays), but there are some corner cases where the
current behaviour somewhat "works", so this fixes a bug while
gh-17224 and the issues around it remain independently.
|
|\ \
| | |
| | | |
MAINT: use sysconfig not distutils.sysconfig where possible
|
| | | |
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
BUG, DOC: comment out metadata added via javascript
|
| |/ |
|
|\ \
| | |
| | | |
MAINT: Run slow CI jobs earlier so builds finishes sooner
|
| | | |
|
|\ \ \
| | | |
| | | | |
MAINT: Remove some callers of functions in numpy.compat
|
| | | |
| | | |
| | | |
| | | | |
Some more Python 2 cleanup.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Some more Python 2 cleanup.
Also switches to use with statements, as previous passes looking for bare `open()` calls would have missed these
|
| | | |
| | | |
| | | |
| | | | |
Some more Python 2 cleanup
|
| | | |
| | | |
| | | |
| | | | |
Some more Python 2 cleanup
|
| | | |
| | | |
| | | |
| | | | |
This edit is relation to issue gh-15986.
Chained exception in shape_base.py
|
|\ \ \ \
| | | | |
| | | | | |
MAINT, BUG: Replace uses of PyString_AsString.
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
PyString_AsString is defined in the npy_3kcompat.h file and can be
replace by its definition now that we no longer support Python 2.
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Implement concatenate dtype and casting keyword arguments
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Unfortunately, the casting was not consistent and sometimes used
force casting (axis=None) while normally same kind casting was used.
This thus deprecates the `force_casting` corner case, so that
casting has to be provided in the future.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT: Bump hypothesis from 5.26.0 to 5.30.0
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.26.0 to 5.30.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.26.0...hypothesis-python-5.30.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DEP: Deprecated ndindex.ndincr
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The "do not use" comment has been here since bb0e4f356cce2f199d9c08ffe572fbabadc846d1.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Use SPDX license expressions with correct license
tools/npy_tempita/license.txt license is MIT not a "BSD Derived"
Also use SPDX license identifiers and expressions for clarity
Based on original report at https://github.com/nexB/scancode-toolkit/issues/2189
Reported-by: Frank Viernau <frank.viernau@here.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* Use correct case for BSD licenses identifers
Reported-by: Sebastian Berg <sebastian@sipsolutions.net>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DOC: Fix link quick-start in old random API functions
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
BUG: Avoid using ``np.random`` in typing tests.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Using `np.random` can cause mysterious test failures in mypy `api.run`
with a report that 'error: Module has no attribute "rand"'. The fix
here is to use `np.empty` instead of `np.random.rand`. Why this works
is unknown at present.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
MAINT: Remove duplicated symbols from link step
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use lib to find symbols rather than object files
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
Remove npymath lib from _multiarray_umath since it contains symbols defined
in object files being linked
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
counterparts (#17222)
* DOC: redistribute docstring-only content from numpy/doc
* DOC: post-transition clean-up
* DOC, MAINT: reskip doctests, fix a few easy ones
|
|\ \ \ \ \
| | | | | |
| | | | | | |
TST: Add tests mapping out the rules for metadata in promotion
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Note that these rules do not actually make much sense often.
They depend on a lot of suble branches, which probably grew over
time without much regard for metadata.
The test is ugly, but maps them out to detect changes in behaviour.
At some point, we should probably define how metadata and promotion
works. Such as always merging dicts, always drop if the original
dtype is lost?
That assumes that metadata can be a useful concept which makes sense
to "inherit" during promotion.
Its also plausible that we should just always strip metadata during
promotion.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* MAINT: Added missing methods to `np.flatiter`
* DOC: Added a comment about weird `flatiter.__getitem__` behavior
Contrary to `ndarray.__getitem__` its counterpart in `flatiter` does not accept objects with the `__array__` or `__index__` protocols;
boolean indexing is just plain broken (gh-17175)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* DOC: Clarify that a number of ufunc-related parameters are positional-only
* DOC: Fixed an incorrect parameter name
`a' should be `array` in `np.ufunc.reduce()`
* DOC: Fixed an incorrect parameter name in `ufunc.reduceat`
* DOC: Replace all leftover references to `a` with `array`
* DOC: Replace two more leftover references to `a` with `array`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* ENH: random: Make _shuffle_raw and _shuffle_int standalone functions.
* ENH: random: Add the method `permuted` to Generator.
The method permuted(x, axis=None, out=None) shuffles an array.
Unlike the existing shuffle method, it shuffles the slices along
the given axis independently.
Closes gh-5173.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
DOC: Document `dtype.metadata`
|
| | | | | | |
| | | | | | |
| | | | | | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Making one of the in-text suggestions slightly adapted into
a warning.
|
| | | | | | |
| | | | | | |
| | | | | | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This adds some basic documentation to the ``dtype.metadata``
attribute. Note that none of the documentation mentions metadata
including https://numpy.org/devdocs/reference/arrays.dtypes.html
|
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* remove (R) from all MATLAB mentions except the first
* Update doc/source/user/numpy-for-matlab-users.rst
update the MATLAB case L53
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* change case of all M/matlab to MATLAB
* Update doc/source/user/numpy-for-matlab-users.rst
replace (R) in reference to Mathworks reference
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|