summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | BUG: isposinf and isneginf now also work with complex valuesJoscha Reimer2018-07-051-2/+17
| | | |
* | | | Merge pull request #11638 from eric-wieser/remove-ma.expand_dimsRalf Gommers2018-07-312-1/+14
|\ \ \ \ | | | | | | | | | | ENH: Make expand_dims work on subclasses
| * | | | TST: Add tests for expand_dimsEric Wieser2018-07-301-0/+9
| | | | |
| * | | | ENH: Make expand_dims work on subclassesEric Wieser2018-07-291-1/+5
| | | | | | | | | | | | | | | | | | | | This allows np.ma.expand_dims to be removed
* | | | | Merge pull request #11637 from eric-wieser/simplify-angleCharles Harris2018-07-312-8/+21
|\ \ \ \ \ | | | | | | | | | | | | ENH: np.angle: Remove unnecessary multiplication, and allow subclasses to pass through
| * | | | | DOC: Add versionchanged about subclassesEric Wieser2018-07-311-0/+3
| | | | | |
| * | | | | ENH: np.angle: Preserve subclassesEric Wieser2018-07-302-1/+11
| | | | | |
| * | | | | STY: Remove C-like parenthesesEric Wieser2018-07-301-1/+1
| | | | | |
| * | | | | MAINT: np.angle: Fix type of default argument to match docsEric Wieser2018-07-301-1/+1
| | | | | |
| * | | | | MAINT: np.angle: Remove unnecessary multiplicationEric Wieser2018-07-301-5/+5
| |/ / / /
* | | | | Merge pull request #11522 from jzwinck/fix-load-empty-npzJulian Taylor2018-07-292-1/+9
|\ \ \ \ \ | | | | | | | | | | | | BUG: fix np.load() of empty .npz file
| * | | | | BUG: fix np.load() of empty .npz fileJohn Zwinck2018-07-072-1/+9
| | |/ / / | |/| | | | | | | | | | | | | Fixes #9989
* | | | | Merge pull request #11626 from heath730/patch-2Matti Picus2018-07-271-0/+2
|\ \ \ \ \ | | | | | | | | | | | | DOC: Show plot in meshgrid example.
| * | | | | DOC: Import maplotlib to show contourf in docs.Heath Henley2018-07-271-0/+1
| | | | | |
| * | | | | DOC: Show plot in meshgrid example.Heath Henley2018-07-271-0/+1
| | | | | |
* | | | | | Merge pull request #9022 from eric-wieser/reduce-hides-errorMarten van Kerkwijk2018-07-271-1/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | BUG: don't silence __array_wrap__ errors in ufunc.reduce
| * | | | | BUG/MAINT: Handle errors in __array_wrap__ the same way in ufunc.reduce as ↵Eric Wieser2018-06-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in ufunc.__call__ Previously they were silenced
* | | | | | BUG: is_complex should explicitly change an array scalar to scalar.Marten van Kerkwijk2018-07-261-1/+1
| |_|/ / / |/| | | | | | | | | | | | | | Rather than rely on +array doing that for it.
* | | | | MAINT: Convert the doctest in `numpy/lib/tests/test_polynomial.py` to ↵Krzysztof Chomski2018-07-141-82/+68
| | | | | | | | | | | | | | | | | | | | regular tests. (#GH9416).
* | | | | Merge pull request #11084 from mattip/test-documentationRalf Gommers2018-07-131-1/+1
|\ \ \ \ \ | | | | | | | | | | | | DOC: link to TESTS.rst.txt testing guidelines document, tweaks
| * | | | | DOC: link to TESTS.rst.txt testing guidelines document, tweak testing docsmattip2018-06-251-1/+1
| | | | | |
* | | | | | Merge pull request #11464 from eric-wieser/monotonicityCharles Harris2018-07-082-1/+123
|\ \ \ \ \ \ | | | | | | | | | | | | | | BUG: Don't convert inputs to `np.float64` in digitize
| * | | | | | BUG: Don't convert inputs to `np.float64` in digitizeEric Wieser2018-07-062-1/+123
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-deprecationCharles Harris2018-07-084-20/+42
|\ \ \ \ \ \ | |/ / / / / |/| | | | | ENH: Add density argument to histogramdd.
| * | | | | MAINT: Rename histogramdd's normed argument to density, to match histogramEric Wieser2018-07-084-20/+42
| | | | | | | | | | | | | | | | | | | | | | | | Fixes gh-4371
* | | | | | Merge pull request #11474 from eric-wieser/move-add-new-docsCharles Harris2018-07-021-35/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT: Move add_newdocs into core, since it only adds docs to those pieces
| * | | | | | MAINT: Move add_newdocs into core, since it only adds docs to those piecesEric Wieser2018-07-021-35/+1
| | | | | | |
* | | | | | | Merge pull request #11473 from eric-wieser/move-pytesttesterMarten van Kerkwijk2018-07-021-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | MAINT: Move pytesttester outside of np.testing, to avoid creating unnecessary import dependencies
| * | | | | | MAINT: Move pytesttester outside of np.testing, to avoid creating ↵Eric Wieser2018-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unnecessary import dependencies pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports Relates to #11457
* | | | | | | Merge pull request #11471 from eric-wieser/move-add-new-docsCharles Harris2018-07-011-31/+92
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | MAINT: Remove python-side docstrings from add_newdocs.
| * | | | | | MAINT: Remove python-side docstrings from add_newdocs.Eric Wieser2018-07-011-31/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the header comment in add_newdocs, it is only intended for C modules. This also fixes `help(np.mgrid)`, which previously only showed the help for `nd_grid`
* | | | | | | Merge pull request #11396 from pimdh/masterEric Wieser2018-06-291-0/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | TST: Added regression test for #11395
| * | | | | | | TST: Added regression test for #11395Pim de Haan2018-06-211-0/+15
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #11440 from jackvreeken/fix-interp-for-nan-infEric Wieser2018-06-291-0/+14
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | BUG: fix interpolation with inf and NaN present
| * | | | | | BUG: fix interpolation with inf and NaN presentJack Vreeken2018-06-291-0/+14
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Values like NaN and inf would result in wrong interpolated values on exactly matching sampling points. To produce the correct behavior, we add an additional check to avoid interpolation when handling such a point. Closes #11439
* | | | | | Merge pull request #11425 from eric-wieser/where-nonzero-docsMarten van Kerkwijk2018-06-291-0/+8
|\ \ \ \ \ \ | |/ / / / / |/| | | | | DOC: Clear up confusion between np.where(cond) and np.where(cond, x, y)
| * | | | | DOC: Clear up confusion between np.where(cond) and np.where(cond, x, y)Eric Wieser2018-06-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminates all mentions of `np.where(cond)`, instead pointing the reader to np.nonzero. Also changes some example numbers to avoid collisions, making them easier to follow. Some minor doc improvements for np.ma.where too.
* | | | | | Merge pull request #11347 from mattip/less-sphinx-warningsRalf Gommers2018-06-271-8/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | DOC: Silence many sphinx warnings
| * | | | | | fixes from reviewmattip2018-06-241-8/+8
| | | | | | |
| * | | | | | DOC: typos, small fixesmattip2018-06-151-1/+2
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #11428 from eric-wieser/deprecate-normed-1.15.0Charles Harris2018-06-272-1/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | BUG: Fix incorrect deprecation logic for histogram(normed=...) (master)
| * | | | | BUG: Fix incorrect deprecation logic for histogram(normed=...)Eric Wieser2018-06-262-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #11426, which was introduced in #11323 and #11352
* | | | | | Merge pull request #11335 from pvanmulbregt/stride123Matti Picus2018-06-251-9/+5
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | DOC: Change array lengths/entries in broadcast_arrays example to reduce confusion.
| * | | | | DOC: Change array lengths/entries in an example to reduce confusion.Paul van Mulbregt2018-06-141-9/+5
| | | | | |
* | | | | | Merge pull request #11373 from eric-wieser/histogramdd-densityCharles Harris2018-06-181-0/+36
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | TST: Show that histogramdd's normed argument is histogram's density
| * | | | | TST: Show that histogramdd's normed argument is histogram's densityEric Wieser2018-06-171-0/+36
| | |_|/ / | |/| | | | | | | | | | | | | Relevant to gh-4371
* | | | | Merge pull request #11371 from eric-wieser/clarify_bin_orderCharles Harris2018-06-181-3/+4
|\ \ \ \ \ | | | | | | | | | | | | DOC: Clarify requirement that histogram bins are monotonic.
| * | | | | DOC: Clarify requirement that histogram bins are monotonic.Eric Wieser2018-06-171-3/+4
| |/ / / / | | | | | | | | | | | | | | | Close gh-631
* | | | | Merge pull request #11323 from eric-wieser/histogram-normed-actually-deprecateCharles Harris2018-06-162-29/+59
|\ \ \ \ \ | | |_|/ / | |/| | | DEP: Actually deprecate the normed argument to histogram
| * | | | DEP: Actually deprecate the normed argument to histogramEric Wieser2018-06-152-29/+59
| |/ / / | | | | | | | | | | | | Documenting this argument at such length gives it authenticity it does not deserve.