Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Prepare master for 1.17.0 development. | Charles Harris | 2018-12-08 | 2 | -0/+4 |
| | | | | | | | | | | | | - Create 1.17.0-notes - Update index.rst for new notes - Update pavement.py - Update setup.py - Remove Python 2.7 and 3.4 from CI testing. - Add `# cython: language_level=3` to `*.pxd`, `*.pyx` files. Note that this removes support for both Python2.7 and Python3.4 in setup.py. | ||||
* | Merge pull request #12494 from mattip/disallow-dgemm | Charles Harris | 2018-12-07 | 3 | -2/+38 |
|\ | | | | | BUG: test, fix matmul, dot for vector array with stride[i]=0 | ||||
| * | STY, TST: fix formatting and add tests for other dtypes, unaligned data | Charles Harris | 2018-12-07 | 2 | -3/+19 |
| | | |||||
| * | BUG: test, fix matmul, dot for vector array with stride[i]=0 | mattip | 2018-12-05 | 3 | -2/+22 |
| | | |||||
* | | Merge pull request #12388 from mhvk/linspace-allow-array | Charles Harris | 2018-12-06 | 3 | -48/+131 |
|\ \ | | | | | | | ENH: allow arrays for start and stop in {lin,log,geom}space | ||||
| * | | DOC: Note the version in which we start supporting array_like start, stop | Marten van Kerkwijk | 2018-12-06 | 1 | -6/+15 |
| | | | |||||
| * | | ENH: allow user choice of sample axis in {lin,log,geom}space. | Marten van Kerkwijk | 2018-12-05 | 2 | -19/+47 |
| | | | |||||
| * | | ENH: Allow {lin,log,geom}space start and stop to be arrays. | Marten van Kerkwijk | 2018-12-05 | 2 | -34/+82 |
| | | | |||||
| * | | TST,BUG: fix two tests that were setup incorrectly. | Marten van Kerkwijk | 2018-12-04 | 2 | -7/+5 |
| | | | | | | | | | | | | And which failed with the change to linspace. | ||||
* | | | MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) ↵ | Roman Yurchak | 2018-12-06 | 53 | -106/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12448) * Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments | ||||
* | | | BUG: Fix `/` that should be `//`. | Charles Harris | 2018-12-06 | 1 | -1/+1 |
| | | | | | | | | | | | | Seems this old style division was missed when going to Python3 compatibility. | ||||
* | | | BUG: fix records.fromfile fails to read data >4 GB | cgohlke | 2018-12-05 | 1 | -2/+2 |
| |/ |/| | | | Use 64-bit integer accumulator for calculating the product of array shapes on 64-bit systems. Fixes #12442. | ||||
* | | ENH: implement matmul on NDArrayOperatorsMixin (#12488) | Stephan Hoyer | 2018-12-05 | 2 | -3/+13 |
|/ | | | | | | * ENH: implement matmul on NDArrayOperatorsMixin * MAINT: remove unnecessary pytest import | ||||
* | Merge pull request #12219 from mattip/matmul-as-ufunc2 | Eric Wieser | 2018-12-04 | 17 | -375/+793 |
|\ | | | | | ENH: make matmul into a ufunc | ||||
| * | DOC: add a comment detailing the output ufunc flag choices | mattip | 2018-12-03 | 1 | -0/+12 |
| | | |||||
| * | ENH: corrections and fixes from review | mattip | 2018-12-01 | 10 | -287/+242 |
| | | |||||
| * | ENH: make matmul into a ufunc | mattip | 2018-11-25 | 18 | -361/+812 |
| | | | | | | | | MAINT: fixes from review | ||||
* | | Merge pull request #12353 from mattip/check-threshold | Charles Harris | 2018-12-04 | 2 | -1/+10 |
|\ \ | | | | | | | BUG: test, fix for threshold='nan' | ||||
| * | | BUG: test, fix for threshold='nan' | mattip | 2018-12-01 | 2 | -1/+10 |
| | | | |||||
* | | | DOC: fix example for __call__. See #12451 | Edgar Giovanni Lepe | 2018-12-02 | 1 | -11/+5 |
| | | | |||||
* | | | Merge pull request #12328 from mhvk/ndarray_array_function_allow_subclasses | Stephan Hoyer | 2018-12-02 | 3 | -45/+66 |
|\ \ \ | |/ / |/| | | MAINT: Allow subclasses in `ndarray.__array_function__`. | ||||
| * | | MAINT: Allow subclasses in ndarray.__array_function__. | Marten van Kerkwijk | 2018-12-02 | 3 | -45/+66 |
| | | | | | | | | | | | | The Liskov substitution principle suggests it should. | ||||
* | | | Merge pull request #12470 from shoyer/less-multiarray-indirection | Charles Harris | 2018-12-01 | 3 | -199/+163 |
|\ \ \ | | | | | | | | | MAINT: remove wrapper functions from numpy.core.multiarray | ||||
| * | | | STY: Restyle some multiline comments. [ci skip] | Charles Harris | 2018-12-01 | 1 | -2/+4 |
| | | | | |||||
| * | | | MAINT: reformat comment in C | Stephan Hoyer | 2018-12-01 | 1 | -2/+4 |
| | | | | |||||
| * | | | DOC: add docs_from_dispatcher to docstring | Stephan Hoyer | 2018-12-01 | 2 | -3/+7 |
| | | | | |||||
| * | | | MAINT: remove wrapper functions from numpy.core.multiarray | Stephan Hoyer | 2018-12-01 | 3 | -199/+155 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original motivation for the style of these wrapper functions, introduced in gh-12175, was to preserve introspection. But it turns out NumPy's functions defined in C don't support introspection anyways, so the extra wrapper functions are entirely pointless. This version reverts the additional wrapper functions, which put default arguments in two places and introduced slow-down due to the overhead of another function call. I've retained docstrings in multiarray.py, since it's definitely more readable to keep docstrings and dispatchers together rather than leaving docstrings in _add_newdocs.py. One bonus of this approach is that dispatcher functions have the same name as their implementations, so `np.concatenate(unknown=True)` gives an error message mentioning "concatenate" rather than "_concatenate_dispatcher": `TypeError: concatenate() got an unexpected keyword argument 'unknown'` | ||||
* | | | | Merge pull request #12471 from shoyer/linspace-overrides | Stephan Hoyer | 2018-12-01 | 1 | -5/+24 |
|\ \ \ \ | |_|/ / |/| | | | ENH: override support for np.linspace and friends | ||||
| * | | | ENH: override support for np.linspace and friends | Stephan Hoyer | 2018-12-01 | 1 | -5/+24 |
| |/ / | | | | | | | | | | Fixes gh-12379 | ||||
* | | | Merge pull request #12447 from ahaldane/unrevert_multifield_view | Charles Harris | 2018-12-01 | 7 | -179/+92 |
|\ \ \ | | | | | | | | | ENH: add back the multifield copy->view change | ||||
| * | | | ENH: add back the multifield copy->view change | Allan Haldane | 2018-11-26 | 7 | -179/+92 |
| | | | | | | | | | | | | | | | | | | | | Fixes #10409 Closes #11530 | ||||
* | | | | Merge pull request #12443 from rth/set-litteral | Eric Wieser | 2018-12-01 | 12 | -19/+19 |
|\ \ \ \ | | | | | | | | | | | MAINT Use set litterals | ||||
| * | | | | Address review comments | Roman Yurchak | 2018-11-24 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Use set litterals | Roman Yurchak | 2018-11-24 | 12 | -21/+21 |
| | | | | | |||||
* | | | | | MAINT: Use list and dict comprehension when possible (#12445) | Roman Yurchak | 2018-12-01 | 17 | -136/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | | | | BUG: IndexError for empty list on structured MaskedArray. | Marten van Kerkwijk | 2018-11-30 | 2 | -3/+8 |
| |_|/ / |/| | | | | | | | | | | | | | | | This should give an empty result, not an error. The problem was that the empty list was interpreted as a list of strings. | ||||
* | | | | Merge pull request #12446 from ahaldane/recfunctions_fixups | Charles Harris | 2018-11-29 | 2 | -13/+41 |
|\ \ \ \ | | | | | | | | | | | MAINT: Fixups to new functions in np.lib.recfunctions | ||||
| * | | | | MAINT: Fixups to new functions in np.lib.recfunctions | Allan Haldane | 2018-11-26 | 2 | -13/+41 |
| | | | | | |||||
* | | | | | Merge pull request #11197 from wummo/correct_covariance_scaling | Marten van Kerkwijk | 2018-11-27 | 2 | -21/+59 |
|\ \ \ \ \ | | | | | | | | | | | | | BUG/ENH: Removed non-standard scaling of the covariance matrix and added option to disable scaling completely. | ||||
| * | | | | | Removed non-standard scaling of the covariance matrix and added option to ↵ | Andreas Nussbaumer | 2018-11-21 | 2 | -21/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | disable scaling completely. | ||||
* | | | | | | BUG: disallow setting flag to writeable if isinstance(a.base, (str, bytes)) | mattip | 2018-11-26 | 2 | -15/+40 |
| |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #12408 from ahaldane/multifield_ma | Charles Harris | 2018-11-25 | 2 | -6/+19 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | BUG: multifield-view of MaskedArray gets bad fill_value | ||||
| * | | | | BUG: multifield-view of MaskedArray gets bad fill_value | Allan Haldane | 2018-11-19 | 2 | -6/+19 |
| | | | | | | | | | | | | | | | | | | | | Fixes #10483 | ||||
* | | | | | Merge pull request #12437 from mattip/refactor-datetime-metadata | Eric Wieser | 2018-11-25 | 1 | -61/+55 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | MAINT: refactor datetime.c_metadata creation | ||||
| * | | | | MAINT: refactor datetime.c_metadata creation | mattip | 2018-11-25 | 1 | -61/+55 |
| | | | | | |||||
* | | | | | Merge pull request #12419 from timfel/fix-fill-funcs | Charles Harris | 2018-11-24 | 2 | -9/+18 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Fix PyArray_FillFunc function definitions | ||||
| * | | | | ENH: Fix PyArray_FillFunc definitions to return an int as per typedef | Tim Felgentreff | 2018-11-19 | 2 | -9/+18 |
| | | | | | |||||
* | | | | | Merge pull request #11526 from ahaldane/add_struct_helper_funcs_redo | Charles Harris | 2018-11-23 | 3 | -2/+394 |
|\ \ \ \ \ | | | | | | | | | | | | | ENH: add multi-field assignment helpers in np.lib.recfunctions | ||||
| * | | | | | MAINT: Add new recfunctions to numpy function API | Allan Haldane | 2018-11-23 | 1 | -0/+23 |
| | | | | | | |||||
| * | | | | | ENH: Fixups to multi-field assignment helpers | Allan Haldane | 2018-11-22 | 2 | -42/+72 |
| | | | | | |