Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUG: Revert linspace import for concatenation funcs (#12265) | James Bourbeau | 2018-10-26 | 2 | -3/+7 |
| | | | BUG: test and fix import linspace in index_tricks | ||||
* | Merge pull request #12251 from shoyer/array-function-error-msg | Allan Haldane | 2018-10-25 | 12 | -15/+65 |
|\ | | | | | MAINT: improved error message when no __array_function__ implementation found | ||||
| * | MAINT: set preferred __module__ for numpy functions | Stephan Hoyer | 2018-10-23 | 12 | -15/+65 |
| | | |||||
* | | Merge pull request #12245 from tylerjereddy/test_sort_complex | Matti Picus | 2018-10-23 | 1 | -0/+26 |
|\ \ | |/ |/| | TST: tests for sort_complex() | ||||
| * | TST: tests for sort_complex() | Tyler Reddy | 2018-10-22 | 1 | -0/+26 |
| | | |||||
* | | ENH: __array_function__ support for np.lib, part 2/2 (#12119) | Stephan Hoyer | 2018-10-22 | 9 | -8/+399 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: unit tests for column_stack. | Tyler Reddy | 2018-10-19 | 1 | -0/+20 |
| | |||||
* | Merge pull request #12216 from tylerjereddy/hist_range_test_sanity | Eric Wieser | 2018-10-18 | 1 | -0/+6 |
|\ | | | | | TST: test invalid histogram range | ||||
| * | TST: test invalid histogram range | Tyler Reddy | 2018-10-18 | 1 | -0/+6 |
| | | |||||
* | | TST: test histogram bins dims | Tyler Reddy | 2018-10-18 | 1 | -0/+7 |
|/ | |||||
* | Merge pull request #12153 from tylerjereddy/setdiff1d_test_cov | Charles Harris | 2018-10-17 | 2 | -2/+11 |
|\ | | | | | DOC, TST: cover setdiff1d assume_unique | ||||
| * | DOC, TST: test setdiff1d assume_unique | Tyler Reddy | 2018-10-16 | 2 | -2/+11 |
| | | | | | | | | | | | | | | | | * add unit test for setdiff1d covering code path where assume_unique is True * remove setdiff1d docstring guarantee that returned value is sorted -- it is not | ||||
* | | Merge branch 'master' into nd_grid_len_test | Charles Harris | 2018-10-17 | 1 | -1/+29 |
|\ \ | |||||
| * | | DEP: Updated unravel_index() kwargs to support `shape` | Tyler Reddy | 2018-10-16 | 1 | -1/+29 |
| |/ | | | | | | | | | | | | | | | | | | | | | * unravel_index() now supports the shape argument (Fixes #10586) while retaining backwards compatibility for the dims argument * added corresponding unit tests and docstring changes * updated compatibility release notes | ||||
* | | MAINT: remove unused nd_grid __len__ | Tyler Reddy | 2018-10-16 | 1 | -3/+0 |
|/ | |||||
* | TST: test byte_bounds contiguity handling | Tyler Reddy | 2018-10-15 | 1 | -4/+28 |
| | | | | | | | * add unit tests to probe previously-uncovered code paths in byte_bounds() that handle both positive and negative strides in non-contiguous arrays (or, at least, arrays with unusual ordering) | ||||
* | TST: add test for weighted histogram mismatch | Tyler Reddy | 2018-10-14 | 1 | -0/+7 |
| | | | | | | * add a unit test for an uncovered code path where a histogram array does not match the shape of the provided array of weights | ||||
* | Merge pull request #12116 from shoyer/array-function-numpy-lib | Charles Harris | 2018-10-11 | 7 | -0/+379 |
|\ | | | | | ENH: __array_function__ support for np.lib, part 1/2 | ||||
| * | ENH: __array_function__ for np.lib, part 1 | Stephan Hoyer | 2018-10-08 | 7 | -0/+379 |
| | | | | | | | | np.lib.arraypad through np.lib.nanfunctions | ||||
* | | Merge pull request #12137 from tylerjereddy/fill_diag_err_test | Eric Wieser | 2018-10-11 | 1 | -0/+13 |
|\ \ | | | | | | | TST: error tests for fill_diagonal() | ||||
| * | | TST: error tests for fill_diagonal() | Tyler Reddy | 2018-10-10 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | * add error handling tests for previously uncovered code in fill_diagonal() | ||||
* | | | TST: error tests for diag_indices_from() | Tyler Reddy | 2018-10-10 | 1 | -5/+17 |
|/ / | | | | | | | | | * add unit tests for previously uncovered error handling code in diag_indices_from() | ||||
* | | Merge pull request #12108 from AetherUnbound/bugfix/12107 | Matti Picus | 2018-10-10 | 2 | -0/+25 |
|\ \ | | | | | | | BUG: Allow boolean subtract in histogram | ||||
| * | | BUG: Allow boolean subtract in histogram | Matthew Bowden | 2018-10-10 | 2 | -0/+25 |
| |/ | | | | | | | | | | | | | | | | | | | | | Convert bool to uint at start, rather than attempt a XOR Only check type against np.bool_ Refactor warnings check | ||||
* | | Merge pull request #12133 from pierreglaser/centralize-pickle-import | Charles Harris | 2018-10-10 | 2 | -6/+2 |
|\ \ | | | | | | | MAINT, TST refactor pickle imports and tests | ||||
| * | | MAINT, TST import pickle from numpy.core.numeric | Pierre Glaser | 2018-10-10 | 2 | -6/+2 |
| |/ | | | | | | | | | | | | | | | All imports of pickle from numpy modules are now done this way: >>> from numpy.core.numeric import pickle Also, some loops on protocol numbers are added over pickle tests that were not caught from #12090 | ||||
* | | MAINT: Update deprecation message. | Charles Harris | 2018-10-10 | 1 | -1/+1 |
| | | |||||
* | | DEP: deprecate asscalar | mattip | 2018-10-10 | 1 | -0/+9 |
|/ | |||||
* | TST: improve coverage of nd_grid | Tyler Reddy | 2018-10-06 | 1 | -0/+18 |
| | |||||
* | Merge pull request #12061 from ceh-forks/remove-reduntant-imports | Charles Harris | 2018-09-30 | 1 | -1/+0 |
|\ | | | | | MAINT: remove redundant imports | ||||
| * | MAINT: remove redundant imports | Emil Hessman | 2018-09-30 | 1 | -1/+0 |
| | | |||||
* | | MAINT: remove unused stdlib imports | Emil Hessman | 2018-09-30 | 1 | -1/+0 |
|/ | |||||
* | Merge pull request #11962 from mfkasim91/limitrowloadtxt | Charles Harris | 2018-09-30 | 2 | -2/+58 |
|\ | | | | | ENH: maximum lines of content to be read from numpy.loadtxt | ||||
| * | MAINT: Omit None in max_rows for np.loadtxt docstring | mfkasim91 | 2018-09-30 | 1 | -1/+1 |
| | | |||||
| * | MAINT: No tick for None in `max_rows` docstring for `np.loadtxt` | mfkasim91 | 2018-09-30 | 1 | -1/+1 |
| | | |||||
| * | ENH: add max_rows kwarg to numpy.loadtxt like numpy.genfromtxt | mfkasim91 | 2018-09-30 | 2 | -2/+58 |
| | | |||||
* | | MAINT: remove unused imports | Emil Hessman | 2018-09-29 | 1 | -8/+6 |
| | | |||||
* | | ENH add prepend and append kwargs to diff | Matt Harrigan | 2018-09-25 | 2 | -1/+81 |
| | | |||||
* | | BUG: Don't leave files open and dangling if np.load has a bad encoding ↵ | Eric Wieser | 2018-09-23 | 1 | -13/+14 |
| | | | | | | | | argument, or the file is an invalid zip | ||||
* | | TST: prefer pytest.skip() over SkipTest | Tyler Reddy | 2018-09-21 | 3 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | * replace most usage of SkipTest() with pytest.skip() * where possible, we avoid use of the standard library SkipTest because unittest skipping is routed through the pytest nose compatibility layer in that scenario, which can prevent an easy trace back to the test line where the skip occurred | ||||
* | | Merge pull request #11961 from eric-wieser/pad-tests | Charles Harris | 2018-09-18 | 1 | -1/+42 |
|\ \ | | | | | | | TST: Add more tests for np.pad | ||||
| * | | TST: Add a (failing) test for using np.pad with Fractions, which currently ↵ | Eric Wieser | 2018-09-17 | 1 | -0/+19 |
| | | | | | | | | | | | | rounds to `float` | ||||
| * | | TST: Add a regression test for gh-11216 | Lars G | 2018-09-17 | 1 | -1/+18 |
| | | | | | | | | | | | | The test is marked xfail right now as it is not fixed in master | ||||
| * | | TST: Add a test for pad-wrapping by length 0 | Lars G | 2018-09-15 | 1 | -0/+5 |
| |/ | |||||
* | | Merge pull request #11958 from hmaarrfk/test_pad_object | Matti Picus | 2018-09-17 | 1 | -0/+15 |
|\ \ | | | | | | | TST: Add a test for np.pad where constant_values is an object | ||||
| * | | style | Mark Harfouche | 2018-09-15 | 1 | -1/+1 |
| | | | |||||
| * | | Pad start and end with different values | Mark Harfouche | 2018-09-15 | 1 | -3/+5 |
| | | | |||||
| * | | Don't use None to valid the array as it is the "Default" for empty | Mark Harfouche | 2018-09-15 | 1 | -5/+8 |
| | | | |||||
| * | | MAINT: Add a test for np.pad where constant_values is an object | Mark Harfouche | 2018-09-15 | 1 | -0/+10 |
| |/ | |||||
* | | MAINT: refactor design of recursive closures (#11910) | Matti Picus | 2018-09-16 | 2 | -9/+13 |
|/ |