| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
ENH: allow arrays for start and stop in {lin,log,geom}space
|
| | |
| |
| |
| | |
And which failed with the change to linspace.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#12448)
* Review F401,F841,F842 flake8 errors (unused variables, imports)
* Review comments
* More tests in test_installed_npymath_ini
* Review comments
|
| |/
|
|
|
|
| |
* ENH: implement matmul on NDArrayOperatorsMixin
* MAINT: remove unnecessary pytest import
|
| |\
| |
| | |
ENH: add back the multifield copy->view change
|
| | |
| |
| |
| |
| | |
Fixes #10409
Closes #11530
|
| |\ \
| | |
| | | |
MAINT Use set litterals
|
| | |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Use list comprehension
* More list comprehension migration
* Revert key copying in dict
* A few more fixes
* More reverts
* Use dict comprehension
* Fix dict comprehension
* Address review comments
* More review comments
* Fix for empty unpacking of zip(*
* Revert zip(* unpacking altogether
* Fix dict copying
* More simplifications
|
| |\ \
| | |
| | | |
MAINT: Fixups to new functions in np.lib.recfunctions
|
| | |/ |
|
| |\ \
| |/
|/| |
BUG/ENH: Removed non-standard scaling of the covariance matrix and added option to disable scaling completely.
|
| | |
| |
| |
| | |
disable scaling completely.
|
| |\ \
| | |
| | | |
ENH: add multi-field assignment helpers in np.lib.recfunctions
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Adds helper functions for the copy->view transition for multi-field
indexes. Adds `structured_to_unstructured`, `apply_along_fields`,
`assign_fields_by_name`, `require_fields`.
|
| | | | |
|
| | | | |
|
| | |/
|/| |
|
| | |
| |
| |
| | |
This double negative is confusing to me.
|
| | | |
|
| |\ \
| | |
| | | |
DOC: Fix typo in polyint. Fixes #12386.
|
| | | |
| | |
| | |
| | |
| | | |
Change differentiate to integrate in parameter `p` description.
Fixes #12386.
|
| |\ \ \
| |/ /
|/| | |
DEP: raise on a call to deprecated numpy.lib.function_base.unique
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
BUG: graceful DataSource __del__ when __init__ fails
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* DataSource __del__ could raise an AttributeError
if __init__ failed for any reason; __del__ now gracefully
handles the case where __init__ fails, as happens in the
internals of refguide_check when handling DataSource with
an unexpected kwarg
|
| | |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
ENH: set correct __module__ for objects in numpy's public API
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes GH-12271
Tests verify that everything in ``dir(numpy)`` either has ``__module__`` set to
``'numpy'``, or appears in an explicit whitelist of undocumented functions and
exported bulitins. These should eventually be documented or removed.
I also identified a handful of functions for which I had accidentally not setup
dispatch for with ``__array_function__`` before, because they were listed under
"ndarray methods" in ``_add_newdocs.py``. I guess that should be a lesson in
trusting code comments :).
|
| | | | |
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | | |
TST: arg handling tests in histogramdd
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Per discussion on the mailing list, __array_function__ isn't quite ready to
release as part of NumPy 1.16:
https://mail.python.org/pipermail/numpy-discussion/2018-November/078949.html
We'd like to improve performance a bit, and it will be easier to support
introspection on NumPy functions if we support Python 3 only.
So for now, you need to set the environment variable
``NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1`` to enable dispatching.
|
| | | |
| | |
| | | |
* ENH: Improve support for pathlib.Path objects in more functions
|
| |\ \ \
| |_|/
|/| | |
ENH: Add support for third-party path-like objects by backporting os.fspath
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Fixes gh-12263
We can't support generators with dispatch for ``__array_function__``.
|
| | | |
| | |
| | | |
BUG: test and fix import linspace in index_tricks
|
| |\ \ \
| | | |
| | | | |
MAINT: improved error message when no __array_function__ implementation found
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | | |
TST: tests for sort_complex()
|
| | | |/
| |/| |
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* ENH: __array_function__ support for np.lib, part 2
xref GH12028
np.lib.npyio through np.lib.ufunclike
* Fix failures in numpy/core/tests/test_overrides.py
* CLN: handle depreaction in dispatchers for np.lib.ufunclike
* CLN: fewer dispatchers in lib.twodim_base
* CLN: fewer dispatchers in lib.shape_base
* CLN: more dispatcher consolidation
* BUG: fix test failure
* Use all method instead of function in assert_equal
* DOC: indicate n is array_like in scimath.logn
* MAINT: updates per review
* MAINT: more conservative changes in assert_array_equal
* MAINT: add back in comment
* MAINT: casting tweaks in assert_array_equal
* MAINT: fixes and tests for assert_array_equal on subclasses
|
| | | |
|
| |\ \
| | |
| | | |
TST: test invalid histogram range
|