Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DOC: Make doc examples using StringIO python2-3 compatible | Andras Deak | 2018-04-27 | 2 | -7/+7 |
| | |||||
* | Merge pull request #10871 from eric-wieser/histogramdd-empty | Charles Harris | 2018-04-25 | 1 | -4/+0 |
|\ | | | | | MAINT: Remove unnecessary special case in np.histogramdd for N == 0 | ||||
| * | MAINT: Remove unnecessary special case for N == 0 | Eric Wieser | 2018-04-10 | 1 | -4/+0 |
| | | |||||
* | | Merge pull request #10199 from chunweiyuan/quantile | Stephan Hoyer | 2018-04-23 | 4 | -4/+274 |
|\ \ | | | | | | | ENH: Quantile | ||||
| * | | ENH: Adding np.quantile() and np.nanquantile(). #10199 | Chun-Wei Yuan | 2018-04-16 | 4 | -4/+274 |
| | | | |||||
* | | | MAINT, DOC: Fix typos (#10958) | Nicholas Nadeau, P.Eng., AVS | 2018-04-23 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed doc typo * fixed lib typos * fixed lapack_lite typos * Revert "fixed lapack_lite typos" This reverts commit e7dada860cb73af190234402508ab79965ecd079. | ||||
* | | | Merge pull request #10891 from eric-wieser/assert-no-cycles | Charles Harris | 2018-04-21 | 1 | -11/+2 |
|\ \ \ | | | | | | | | | TST: Extract a helper function to test for reference cycles | ||||
| * | | | TST: Extract a helper function to test for reference cycles | Eric Wieser | 2018-04-12 | 1 | -11/+2 |
| | |/ | |/| | | | | | | | | | | | | | This also means we can now test that our test is actually able to detect the type of failure we expect Trying to give myself some tools to debug the failure at https://github.com/numpy/numpy/pull/10882/files#r180813166 | ||||
* | | | Merge pull request #9998 from mattip/nditer-as-context-manager | Allan Haldane | 2018-04-21 | 1 | -2/+5 |
|\ \ \ | | | | | | | | | ENH: Nditer as context manager | ||||
| * | | | ENH: add NpyIter_Close, nditer__{enter,exit}__ | mattip | 2018-04-20 | 1 | -2/+5 |
| | | | | |||||
* | | | | Merge pull request #10921 from mattip/percentile-graph | Charles Harris | 2018-04-20 | 4 | -29/+34 |
|\ \ \ \ | | | | | | | | | | | DOC: clear up warnings, fix matplotlib plot | ||||
| * | | | | DOC: clear up warnings, fix matplotlib plot | mattip | 2018-04-17 | 4 | -29/+34 |
| | | | | | |||||
* | | | | | DOC: Fix NumpyVersion example (closes gh-10935) | Stefan van der Walt | 2018-04-19 | 1 | -1/+1 |
| |/ / / |/| | | | |||||
* | | | | ENH: Extend np.flip to work over multiple axes | Junjie Bai | 2018-04-17 | 2 | -16/+70 |
|/ / / | | | | | | | | | | Closes #10847 | ||||
* | | | BUG: fix crash in numpy.genfromtxt(..., names=True, comments=None) (#10822) | Raunak Shah | 2018-04-16 | 2 | -3/+11 |
| |/ |/| | | | | | Fixes gh-10780 | ||||
* | | Merge pull request #10875 from mattip/fix-issue7895 | Charles Harris | 2018-04-15 | 2 | -2/+43 |
|\ \ | | | | | | | BUG: fix savetxt, loadtxt for '+-' in complex | ||||
| * | | BUG: fix savetxt, loadtxt for '+-' in complex | mattip | 2018-04-10 | 2 | -2/+43 |
| | | | |||||
* | | | TST: reactivate module docstring tests, fix float formatting | mattip | 2018-04-15 | 1 | -18/+18 |
| |/ |/| | |||||
* | | ENH: Improve histogram bins="auto" for data with little variance (#10739) | Varun Nayyar | 2018-04-09 | 2 | -9/+40 |
|/ | | | Now falls back on sturges estimator when the IQR is zero | ||||
* | Merge pull request #10859 from charris/remove-yield-tests | Charles Harris | 2018-04-09 | 2 | -93/+100 |
|\ | | | | | MAINT: Remove yield tests | ||||
| * | STY: Some PEP8 fixes in lib/tests/test_twodim_base.py. | Charles Harris | 2018-04-08 | 1 | -16/+17 |
| | | |||||
| * | TST: Remove yield tests in lib/tests/test_twodim_base.py. | Charles Harris | 2018-04-08 | 1 | -12/+12 |
| | | |||||
| * | TST: Remove yield tests from lib/tests/test_index_tricks.py. | Charles Harris | 2018-04-08 | 1 | -65/+71 |
| | | |||||
* | | Merge pull request #10863 from eric-wieser/histogramdd-fixes | Charles Harris | 2018-04-09 | 1 | -33/+22 |
|\ \ | |/ |/| | MAINT: More Histogramdd cleanup | ||||
| * | MAINT: Don't use np.arange just because `range` is shadowed | Eric Wieser | 2018-04-08 | 1 | -7/+11 |
| | | | | | | | | Creates an alias instead | ||||
| * | MAINT: Use the minlength argument of bincount to avoid a copy into a larger ↵ | Eric Wieser | 2018-04-08 | 1 | -8/+4 |
| | | | | | | | | | | | | array The result is left as a float, even though it no longer needs to be, as this commit aims not to change behavior. | ||||
| * | MAINT: Don't reimplement `ravel_multi_index` | Eric Wieser | 2018-04-08 | 1 | -3/+2 |
| | | |||||
| * | MAINT: Don't use a dict with numeric keys when a tuple would do fine | Eric Wieser | 2018-04-08 | 1 | -3/+4 |
| | | |||||
| * | MAINT: Remove asarray call on a known array | Eric Wieser | 2018-04-08 | 1 | -2/+0 |
| | | |||||
| * | MAINT: Remove dead code. | Eric Wieser | 2018-04-08 | 1 | -3/+0 |
| | | | | | | | | len(xy) == N, and we already checked if N == 0 above. | ||||
| * | MAINT: Remove pointless axis permutation | Eric Wieser | 2018-04-08 | 1 | -9/+3 |
| | | |||||
| * | MAINT: Remove redundant operations in 1d masking | Eric Wieser | 2018-04-08 | 1 | -1/+1 |
| | | | | | | | | `x1d[nonzero(mask1d)[0]]` is just a less readable way to spell `x1d[mask1d]` | ||||
* | | Merge pull request #10858 from charris/post-pytest-cleanup | Charles Harris | 2018-04-07 | 24 | -151/+41 |
|\ \ | | | | | | | MAINT: Post pytest switch cleanup | ||||
| * | | MAINT: Remove all uses of run_module_suite. | Charles Harris | 2018-04-06 | 24 | -151/+41 |
| | | | | | | | | | | | | | | | That function is nose specific and has not worked since `__init__` files were added to the tests directories. | ||||
* | | | Merge pull request #10802 from eric-wieser/histogramdd-fixes | Charles Harris | 2018-04-06 | 1 | -44/+41 |
|\ \ \ | |/ / |/| / | |/ | BUG/DOC/MAINT: Tidy up histogramdd | ||||
| * | BUG: Use intp for indices | Eric Wieser | 2018-04-06 | 1 | -1/+1 |
| | | | | | | | | Fixes gh-8531 | ||||
| * | DOC: Document the surprising behaviour of np.histogramdd on array_likes | Eric Wieser | 2018-04-06 | 1 | -4/+12 |
| | | |||||
| * | MAINT/ENH: Reuse range computation code from np.histogram in np.histogramdd | Eric Wieser | 2018-04-06 | 1 | -29/+15 |
| | | | | | | | | This also adds support for inferring the range along a subset of the axes, rather than an all or nothing approach. | ||||
| * | MAINT: Give a more useful error messages for bins of an incorrect dimension | Eric Wieser | 2018-03-26 | 1 | -2/+5 |
| | | | | | | | | | | | | Previously gave `ValueError: object too deep for desired array` from an internal call This also adds support for 0d array bincounts | ||||
| * | MAINT: Only check bin monotonicity if not using linspace | Eric Wieser | 2018-03-26 | 1 | -5/+6 |
| | | | | | | | | | | This also switches to doing comparisons rather than subtractions, for consistency with np.histogram. That change is not strictly necessary here as the arguments are not unsigned integer types (unlike in np.histogram), but it would nice to support integer bins in future. | ||||
| * | MAINT: Unify computation of `nbin[i]` | Eric Wieser | 2018-03-26 | 1 | -3/+2 |
| | | |||||
| * | MAINT: Make np.histogramdd error messages consistent with np.histogram | Eric Wieser | 2018-03-26 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #10842 from charris/switch-to-pytest | Charles Harris | 2018-04-06 | 7 | -43/+47 |
|\ \ | | | | | | | TST: Switch to pytest | ||||
| * | | TST: Update modules `test` to PytestTester. | Charles Harris | 2018-04-04 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Numpy can now be tested using the standard `python -c"import numpy; numpy.test()"` construct. | ||||
| * | | TST: Switch to using pytest markers | Charles Harris | 2018-04-04 | 6 | -41/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use standard pytest markers everywhere in the numpy tests. At this point there should be no nose dependency. However, nose is required to test the legacy decorators if so desired. At this point, numpy test cannot be run in the way with runtests, rather installed numpy can be tested with `pytest --pyargs numpy` as long as that is not run from the repo. Run it from the tools directory or some such. | ||||
* | | | doc: fix examples in docstring for np.flip | Berend Kapelle | 2018-04-03 | 1 | -3/+0 |
|/ / | |||||
* | | MAINT: Remove "bench" from testing modules `__init__`s. | Charles Harris | 2018-03-31 | 1 | -1/+0 |
|/ | | | | | The "bench" testing with the old bench files is no longer supported. These days we use `runtests.py` and `asv`. | ||||
* | TST: Rename some compiled c test modules | Charles Harris | 2018-03-24 | 1 | -1/+1 |
| | | | | | | The renamed C modules provide low level functions for testing. The rename marks them as private functions and makes them invisible to pytest by default. | ||||
* | MAINT: Remove use of unittest in NumPy tests. | xoviat | 2018-03-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | This removes a few left over uses of unittest. The main changes apart from removal of Test case are: * `setUp` replaced by nose and pytest compatible `setup` * `tearDown` replaced by nose and pytest compatible `teardown` * `assertRaises` replaced by `assert_raises` * `assertEqual` replaced by `assert_equal` The last two are in `numpy/testings/tests/test_utils.py`, so may seem a but circular, but at least are limited to those two functions. The use of `setup` and `teardown`, can be fixed up with the pytest equivalents after we have switched to pytest. | ||||
* | Merge pull request #10755 from eric-wieser/reduce-histogram-docs | Charles Harris | 2018-03-16 | 1 | -108/+76 |
|\ | | | | | DOC: Move bin estimator documentation from `histogram` to `histogram_bin_edges` |