Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #11626 from heath730/patch-2 | Matti Picus | 2018-07-27 | 1 | -0/+2 |
|\ | | | | | DOC: Show plot in meshgrid example. | ||||
| * | DOC: Import maplotlib to show contourf in docs. | Heath Henley | 2018-07-27 | 1 | -0/+1 |
| | | |||||
| * | DOC: Show plot in meshgrid example. | Heath Henley | 2018-07-27 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #9022 from eric-wieser/reduce-hides-error | Marten van Kerkwijk | 2018-07-27 | 3 | -123/+179 |
|\ \ | |/ |/| | BUG: don't silence __array_wrap__ errors in ufunc.reduce | ||||
| * | MAINT: Hoist helper functions to the top of the file so that prototypes are ↵ | Eric Wieser | 2018-06-12 | 1 | -137/+135 |
| | | | | | | | | | | | | not needed The functions themselves have not changed, only moved | ||||
| * | BUG/MAINT: Handle errors in __array_wrap__ the same way in ufunc.reduce as ↵ | Eric Wieser | 2018-06-12 | 3 | -18/+30 |
| | | | | | | | | | | | | in ufunc.__call__ Previously they were silenced | ||||
| * | MAINT: Extract a helper function to apply __array_wrap__ | Eric Wieser | 2018-06-10 | 1 | -33/+79 |
| | | |||||
* | | DOC: Use "real symmetric" rather than "symmetric" in ``eigh`` and ↵ | Juan Azcarreta | 2018-07-26 | 1 | -11/+16 |
| | | | | | | | | | | | | | | | | ''eigvalsh" docs. (#11621) Change the documentation of inputs from "symmetric or Hermitian" to "real symmetric or complex Hermitian" for eigh and eigvalsh. [ci skip] | ||||
* | | MAINT,DEP: Properly implement ndarray.__pos__ | Marten van Kerkwijk | 2018-07-26 | 5 | -9/+93 |
| | | | | | | | | | | | | For regular arrays, we now give a deprecation warning if np.positive cannot handle it; for ndarray subclasses that override __array_ufunc__, we pass on the type error. | ||||
* | | BUG: is_complex should explicitly change an array scalar to scalar. | Marten van Kerkwijk | 2018-07-26 | 1 | -1/+1 |
| | | | | | | | | Rather than rely on +array doing that for it. | ||||
* | | Merge pull request #11601 from eric-wieser/list-ctor | Charles Harris | 2018-07-22 | 2 | -32/+64 |
|\ \ | | | | | | | BUG: Make np.array([[1], 2]) and np.array([1, [2]]) behave in the same way | ||||
| * | | TST: Add a test of jagged array construction | Eric Wieser | 2018-07-22 | 1 | -0/+18 |
| | | | |||||
| * | | BUG: Make np.array([[1], 2]) and np.array([1, [2]]) behave in the same way | Eric Wieser | 2018-07-22 | 2 | -19/+34 |
| | | | |||||
| * | | MAINT: Eliminate intermediate variable for consistency | Eric Wieser | 2018-07-22 | 1 | -15/+12 |
| | | | | | | | | | | | | Also tidy line-wrapping | ||||
| * | | MAINT: Improve variable names and scope in discover_dimensions | Eric Wieser | 2018-07-22 | 1 | -6/+8 |
| | | | |||||
* | | | BLD: Modify cpu detection and function to get build working on aarch64 (#11568) | Kyle Sunden | 2018-07-15 | 2 | -19/+49 |
| | | | | | | | | | BLD: Modify cpu detection and printing to get working aarch64 build | ||||
* | | | Merge pull request #11572 from logeaux/indexing-doc | Matti Picus | 2018-07-14 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | DOC: Updated Slice Description | ||||
| * | | | DOC: Updated Slice Description | logeaux | 2018-07-14 | 1 | -1/+1 |
| | | | | |||||
* | | | | DOC: Updated array2string description (#11571) | logeaux | 2018-07-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Updated array2string description * DOC: Updated array2string description | ||||
* | | | | Merge pull request #11556 from sh0nk/fix-assert_string_equal | Charles Harris | 2018-07-14 | 2 | -2/+8 |
|\ \ \ \ | | | | | | | | | | | BUG: Make assert_string_equal check str equality simply without regex | ||||
| * | | | | BUG: Make assert_string_equal check str equality simply without regex | Sho Nakamura | 2018-07-14 | 2 | -2/+8 |
| | | | | | |||||
* | | | | | MAINT: Convert the doctest in `numpy/lib/tests/test_polynomial.py` to ↵ | Krzysztof Chomski | 2018-07-14 | 1 | -82/+68 |
| |/ / / |/| | | | | | | | | | | | regular tests. (#GH9416). | ||||
* | | | | Merge pull request #11382 from mattip/remove-typeNA | Ralf Gommers | 2018-07-13 | 3 | -6/+27 |
|\ \ \ \ | | | | | | | | | | | DEP: deprecate undocumented, unused dtype type dicts | ||||
| * | | | | DEP: deprecate undocumented, unused dtype type dicts | mattip | 2018-07-13 | 3 | -6/+27 |
| | | | | | |||||
* | | | | | Merge pull request #11084 from mattip/test-documentation | Ralf Gommers | 2018-07-13 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | DOC: link to TESTS.rst.txt testing guidelines document, tweaks | ||||
| * | | | | | DOC: link to TESTS.rst.txt testing guidelines document, tweak testing docs | mattip | 2018-06-25 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #11525 from isuruf/ldflags | Ralf Gommers | 2018-07-13 | 3 | -34/+84 |
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | Append *FLAGS instead of overriding | ||||
| * | | | | | Simplify logic | Isuru Fernando | 2018-07-08 | 1 | -11/+2 |
| | | | | | | |||||
| * | | | | | convert env variable flags and fix LDSHARED | Isuru Fernando | 2018-07-08 | 2 | -3/+7 |
| | | | | | | |||||
| * | | | | | Remove redundant code | Isuru Fernando | 2018-07-07 | 1 | -2/+0 |
| | | | | | | |||||
| * | | | | | Move distutils.environment.py to distutils.fcompiler | Isuru Fernando | 2018-07-07 | 2 | -1/+2 |
| | | | | | | |||||
| * | | | | | Use monkeypatch's setenv, getenv | Isuru Fernando | 2018-07-07 | 1 | -8/+7 |
| | | | | | | |||||
| * | | | | | Test distutils flags appending | Isuru Fernando | 2018-07-07 | 1 | -0/+47 |
| | | | | | | |||||
| * | | | | | Change default to override | Isuru Fernando | 2018-07-07 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Fix var being None | Isuru Fernando | 2018-07-07 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | Append *FLAGS instead of overriding | Isuru Fernando | 2018-07-07 | 2 | -33/+41 |
| | |/ / / | |/| | | | |||||
* | | | | | DOC: Update examples with new MaskedArray.__repr__ | Eric Wieser | 2018-07-09 | 1 | -9/+9 |
| | | | | | |||||
* | | | | | DOC: Add missing reference to block | Eric Wieser | 2018-07-09 | 1 | -0/+1 |
| |_|/ / |/| | | | |||||
* | | | | Merge pull request #11518 from mhvk/normalize-axis-tuple-speedup | Marten van Kerkwijk | 2018-07-09 | 1 | -5/+8 |
|\ \ \ \ | | | | | | | | | | | MAINT: Speed up normalize_axis_tuple by about 30% | ||||
| * | | | | MAINT: Restore previous behavior on subclasses | Eric Wieser | 2018-07-08 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | MAINT: Speed up normalize_axis_tuple by about 30% | Marten van Kerkwijk | 2018-07-06 | 1 | -5/+8 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used in `np.moveaxis`, which is relatively slow. Timings change as follows: ``` import numpy as np from numpy.core.numeric import normalize_axis_tuple %timeit normalize_axis_tuple([0, 1, 2], 4, 'parrot') a = np.zeros((10,20,30)) %timeit np.moveaxis(a, [0,1,2], [2,1,0]) 100000 loops, best of 3: 5.56 µs per loop -> 4.17 µs ``` | ||||
* | | | | Merge pull request #11482 from Anner-deJong/patch-1 | Charles Harris | 2018-07-08 | 1 | -0/+10 |
|\ \ \ \ | | | | | | | | | | | DOC: Include warning in np.resize() docs | ||||
| * | | | | removed spaces. improved right side outlining | Anner | 2018-07-06 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Update resize notes according to mattip's comments | Anner | 2018-07-05 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed 'simple' altered sentence describing which items are taken from `old` into `new` therefor -> therefore | ||||
| * | | | | include warning in np.resize() docs | Anner | 2018-07-03 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I find it counterintuitive that resizing a numpy array does NOT consider dimensions independent, but simply takes the first N elements of the input array that fit into the output array. I was expecting something more like `cv2.resize()` where axes are treated separately, and some form of interpolation is applied to each dimension. numpy resizes an old 5x5x2 array into a new array with new = np.resize(old, (4, 4, 2)) by simply copying the first 4 * 4 * 2 entries from old into new. (e.g. old[0, 4, :] becomes new[1, 0, :]) This is a problem if we would like simple interpolation, or if different axes represent different entities. (If the above example is an image, the top right most pixel would get warped all the way to the left, which is most likely not the intention) In response to my issue #11478: 'resize() is unintuitive by not treating axes separately?' A warning in the docs might prevent some confusion. For a discussion on the issue and a possible solution, see <https://github.com/numpy/numpy/issues/11478> | ||||
* | | | | | Merge pull request #11533 from aifer4/fixed-cheb-examples | Charles Harris | 2018-07-08 | 1 | -2/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | DOC: Fixed example code for cheb2poly and poly2cheb (see #11519) | ||||
| * | | | | | DOC: Fixed example code for cheb2poly and poly2cheb (see #11519) | Max Aifer | 2018-07-08 | 1 | -2/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #11464 from eric-wieser/monotonicity | Charles Harris | 2018-07-08 | 6 | -186/+156 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | BUG: Don't convert inputs to `np.float64` in digitize | ||||
| * | | | | | | BUG: Don't convert inputs to `np.float64` in digitize | Eric Wieser | 2018-07-06 | 6 | -186/+156 |
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts digitize to a pure-python function that falls back on searchsorted. Performance doesn't really matter here anyway - if you care about performance, then you should just call searchsorted directly, rather than checking the order of the bins. Partially fixes gh-11022 | ||||
* | | | | | | Merge pull request #11531 from eric-wieser/histogramdd-density-no-deprecation | Charles Harris | 2018-07-08 | 4 | -20/+42 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | ENH: Add density argument to histogramdd. |