Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | TST: Add failing test for mismatch of key type | Eric Wieser | 2017-07-01 | 1 | -1/+16 | |
| | | | | | | | ||||||
| * | | | | | | BUG: stack_arrays fails for subdtypes | Eric Wieser | 2017-07-01 | 2 | -5/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Again, fixed by not using descr | |||||
| * | | | | | | BUG: recfunctions.join_by fails when key is a subdtype | Eric Wieser | 2017-07-01 | 2 | -11/+61 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that working with .descr is a generally terrible idea. Instead we introduce `get_fieldspec`, which returns a list of 2-tuples, encapsulating subdtypes. This also means that np.core.test_rational.rational survives a roundtrip - its .descr is 'V8', which ddoesn't survive | |||||
| * | | | | | | BUG: recfunctions.join_by fails for colliding values with different dtypes | Eric Wieser | 2017-07-01 | 2 | -11/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #9338 | |||||
| * | | | | | | MAINT: use set operators for brevity | Eric Wieser | 2017-07-01 | 1 | -3/+3 | |
| |/ / / / / | ||||||
* | | | | | | DOC: Improve documentation of common_type (#9344) | Gunjan | 2017-07-01 | 1 | -2/+2 | |
|/ / / / / | | | | | | | | | | | Fixes gh-9326 | |||||
* | | | | | TST: Verify that join_by doesn't choke on subdtypes | Eric Wieser | 2017-06-27 | 1 | -0/+10 | |
| | | | | | ||||||
* | | | | | MAINT: Fix alerts from http://lgtm.com (#9292) | Jean Helie | 2017-06-26 | 1 | -1/+1 | |
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | * make exception raising 2/3 compatible * remove unnecesary else statement after while loop without break clause * ensure file is always enclosed even in the event of an exception * ensure list comprehension variable does not override enclosing loop variable | |||||
* | | | | Merge pull request #9220 from eric-wieser/simplify-nanfuncs | Charles Harris | 2017-06-22 | 1 | -43/+53 | |
|\ \ \ \ | | | | | | | | | | | MAINT: Factor out code duplicated by nanmedian and nanpercentile | |||||
| * | | | | MAINT: Factor out code duplicated by nanmedian and nanpercentile | Eric Wieser | 2017-06-21 | 1 | -43/+53 | |
| | | | | | ||||||
* | | | | | MAINT: Use neq instead of xor in diff | Egor Panfilov | 2017-06-17 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | BUG: Switched to xor for bool arrays in diff, added corresponding tests | Egor Panfilov | 2017-06-17 | 2 | -6/+20 | |
| | | | | | ||||||
* | | | | | DOC: BLD: fix lots of Sphinx warnings/errors. | Ralf Gommers | 2017-06-10 | 2 | -2/+2 | |
|/ / / / | ||||||
* | | | | Merge pull request #9214 from eric-wieser/no-one-arg-where | Charles Harris | 2017-06-03 | 3 | -6/+7 | |
|\ \ \ \ | | | | | | | | | | | MAINT: Don't internally use the one-argument where | |||||
| * | | | | MAINT: Don't internally use the one-argument where | Eric Wieser | 2017-06-03 | 3 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | | | nonzero is a clearer spelling | |||||
* | | | | | BUG: KeyboardInterrupt is swallowed all over the place | Eric Wieser | 2017-06-03 | 7 | -10/+10 | |
|/ / / / | | | | | | | | | | | | | Bare except is very rarely the right thing | |||||
* | | | | Merge pull request #9212 from eric-wieser/tidy-function_base | Julian Taylor | 2017-06-03 | 2 | -9/+4 | |
|\ \ \ \ | | | | | | | | | | | MAINT: Combine similar branches | |||||
| * | | | | MAINT: Combine similar branches | Eric Wieser | 2017-06-03 | 2 | -9/+4 | |
| | | | | | ||||||
* | | | | | MAINT: Use np.concatenate instead of np.vstack (#8934) | Joseph Paul Cohen | 2017-06-02 | 1 | -12/+4 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The np.vstack function is maintained for backward compatibility, it's use in new code is discouraged. * MAINT: Replace internal uses of vstack vstack is supported only for backward compatibility We should use concatenate or stack instead * MAINT: Remove 1d special casing in piecewise * STY: Fix missing blank line in ma.tests.test_extras.py | |||||
* | | | | BUG: have as_strided() keep custom dtypes | Antoine Pitrou | 2017-05-24 | 2 | -4/+11 | |
| | | | | | | | | | | | | | | | | Fixes issue #9161 | |||||
* | | | | BUG: set default type for empty index array to `numpy.intp` (#9142) | Konrad Kapp | 2017-05-20 | 2 | -2/+12 | |
| | | | | | | | | | | | | | | | | Fixes #9137 | |||||
* | | | | DEP: Deprecate incorrect behavior of expand_dims. | Charles Harris | 2017-05-17 | 2 | -4/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expand_dims works as documented when the index of the inserted NewAxis in the resulting array satisfies -a.ndim - 1 <= index <= a.ndim. However, when index > a.ndim index is replaced by a.ndim and, when index < -a.ndim - 1, it is replaced by index + a.ndim + 1, which may be negative and results in incorrect placement. The latter two cases are now deprecated. Closes #9100. | |||||
* | | | | DOC: link to stack from column_stack | Eric Wieser | 2017-05-13 | 1 | -1/+1 | |
|/ / / | | | | | | | | | | [ci skip] | |||||
* | | | Merge pull request #9070 from ahaldane/silence_join_by | Eric Wieser | 2017-05-10 | 2 | -6/+49 | |
|\ \ \ | | | | | | | | | BUG: Preserve field order in join_by, avoids FutureWarning | |||||
| * | | | BUG: Preserve field order in join_by, avoids FutureWarning | Allan Haldane | 2017-05-09 | 2 | -6/+49 | |
| | | | | | | | | | | | | | | | | Fixes #8940 | |||||
* | | | | ENH: Spelling fixes | Ville Skyttä | 2017-05-09 | 8 | -9/+9 | |
|/ / / | ||||||
* | | | DOC: fix docstring for np.isin | Stephan Hoyer | 2017-05-07 | 1 | -0/+1 | |
| | | | ||||||
* | | | ENH: add divmod support to NDArrayOperatorsMixin | Stephan Hoyer | 2017-05-07 | 2 | -40/+60 | |
| | | | ||||||
* | | | BUG: np.ma.mr_['r',...] does not return masked arrays | Eric Wieser | 2017-05-05 | 1 | -3/+3 | |
| | | | ||||||
* | | | BUG: np.r_['r',...] crashes on scalars | Eric Wieser | 2017-05-05 | 2 | -1/+6 | |
| | | | ||||||
* | | | BUG: np.r_['rc'] is treated as np.r_['r'], not an error | Eric Wieser | 2017-05-05 | 2 | -1/+3 | |
| | | | ||||||
* | | | TST: Add some tests for passing r and c to r_ | Eric Wieser | 2017-05-05 | 1 | -0/+13 | |
| | | | ||||||
* | | | MAINT: Use enumerate instead of range(len(...)) | Eric Wieser | 2017-05-05 | 1 | -15/+14 | |
| | | | ||||||
* | | | BUG: Remove mutable state from AxisConcatenator | Eric Wieser | 2017-05-05 | 2 | -29/+37 | |
| | | | | | | | | | | | | Fixes #8815 | |||||
* | | | MAINT: Remove code duplicated from np.r_ in np.ma.mr_ | Eric Wieser | 2017-05-05 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | Also adds a test for the disabled-by-design behaviour - this would return raw matrices, not masked arrays | |||||
* | | | ENH: Add isin, genereralizing in1d to ND arrays (#8423) | B R S Recht | 2017-05-05 | 3 | -7/+145 | |
| | | | | | | | | | | | | | | | | | | This fixes gh-8331 Also update the docs for arraysetops to remove the outdated "1D" from the description, which was already incorrect for np.unique. | |||||
* | | | ENH: add __pos__ to NDArrayOperatorsMixin | Stephan Hoyer | 2017-04-30 | 2 | -3/+4 | |
| | | | ||||||
* | | | Merge pull request #8885 from juliantaylor/tracemalloc | Charles Harris | 2017-04-30 | 1 | -1/+2 | |
|\ \ \ | | | | | | | | | ENH: add support for python3.6 memory tracing | |||||
| * | | | ENH: add support for python3.6 memory tracing | Julian Taylor | 2017-04-28 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.6 added a private API for tracing arbitrary memory allocations so the tracemalloc module [0] can be used with numpy. closes gh-4663 [0] https://docs.python.org/3/library/tracemalloc.html | |||||
* | | | | Merge pull request #9013 from eric-wieser/fix-nanfuncs | Charles Harris | 2017-04-28 | 2 | -15/+31 | |
|\ \ \ \ | |/ / / |/| | | | BUG: Fix np.lib.nanfunctions on object arrays | |||||
| * | | | BUG: Fix incorrect behavior of nanfunctions on object arrays | Eric Wieser | 2017-04-29 | 2 | -8/+28 | |
| | | | | | | | | | | | | | | | | Fixes gh-8974 and gh-9008 | |||||
| * | | | MAINT: Remove weird create-a-copy dance | Eric Wieser | 2017-04-27 | 1 | -6/+2 | |
| | | | | ||||||
* | | | | Merge pull request #8996 from eric-wieser/fix-ufunclike | Marten van Kerkwijk | 2017-04-27 | 2 | -27/+84 | |
|\ \ \ \ | | | | | | | | | | | BUG/DEP: Make ufunclike functions more ufunc-like | |||||
| * | | | | BUG: Return scalars from ufunclike objects | Eric Wieser | 2017-04-26 | 2 | -17/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to reinvent the wheel here - the ufunc machinery will handle the out arguments Fixes #8993 | |||||
| * | | | | DEP: Deprecate calling the `out` argument `y` | Eric Wieser | 2017-04-26 | 2 | -20/+59 | |
| | | | | | | | | | | | | | | | | | | | | Fixes gh-8995 | |||||
* | | | | | Merge pull request #8988 from eric-wieser/document-2522 | Charles Harris | 2017-04-27 | 1 | -0/+17 | |
|\ \ \ \ \ | | | | | | | | | | | | | DOC: Explain the behavior of diff on unsigned types | |||||
| * | | | | | DOC: Explain the behavior of diff on unsigned types | Eric Wieser | 2017-04-25 | 1 | -0/+17 | |
| |/ / / / | | | | | | | | | | | | | | | | Fixes #2522 | |||||
* | | | | | MAINT: Set the __name__ of generated methods | Eric Wieser | 2017-04-27 | 1 | -30/+37 | |
| |/ / / |/| | | | | | | | | | | | Barely useful, but means that the function name is helpful if printed. | |||||
* | | | | ENH: NDArrayOperatorsMixin calls ufuncs directly, like ndarray | Stephan Hoyer | 2017-04-27 | 2 | -40/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ENH: NDArrayOperatorsMixin calls ufuncs directly, like ndarray Per our discussion in https://github.com/numpy/numpy/pull/8247#discussion_r112825050 * add back in accidentally dropped __repr__ | |||||
* | | | | BUG: Fix ArrayLike(NDArrayOperatorsMixin) operations with object() | Stephan Hoyer | 2017-04-27 | 2 | -12/+31 | |
| | | | |