Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8638 from juliantaylor/packbits-fix | Charles Harris | 2017-02-19 | 1 | -0/+9 |
|\ | | | | | BUG: fix wrong odd determination in packbits | ||||
| * | BUG: fix wrong odd determination in packbits | Julian Taylor | 2017-02-19 | 1 | -0/+9 |
| | | | | | | | | closes gh-8637 | ||||
* | | Merge pull request #8633 from MSeifert04/boolean_arrays_in_ix__func | Eric Wieser | 2017-02-19 | 1 | -1/+14 |
|\ \ | | | | | | | DOC: Mention boolean arrays in the ix_ documentation. | ||||
| * | | DOC: Mention boolean arrays in the ix_ documentation. | Michael Seifert | 2017-02-18 | 1 | -1/+14 |
| | | | |||||
* | | | Merge pull request #8631 from anntzer/fill_diagonal-typo | Eric Wieser | 2017-02-19 | 1 | -2/+2 |
|\ \ \ | |_|/ |/| | | Fix typo in fill_diagonal docstring. | ||||
| * | | DOC: Fix typo in fill_diagonal docstring. | Antony Lee | 2017-02-18 | 1 | -2/+2 |
| |/ | |||||
* | | Merge pull request #8614 from eric-wieser/apply_along_axis-empty | Marten van Kerkwijk | 2017-02-18 | 2 | -1/+23 |
|\ \ | |/ |/| | BUG: Don't leak internal exceptions when given an empty array | ||||
| * | BUG: Don't leak internal exceptions when given an empty array | Eric Wieser | 2017-02-13 | 2 | -1/+23 |
| | | | | | | | | Fixes #7454 | ||||
* | | Merge pull request #8617 from eric-wieser/fix-8561 | Marten van Kerkwijk | 2017-02-14 | 4 | -12/+19 |
|\ \ | | | | | | | BUG: Copy meshgrid after broadcasting | ||||
| * | | BUG: The broadcast shape of no things should be (), not ValueError | Eric Wieser | 2017-02-13 | 2 | -2/+2 |
| | | | |||||
| * | | BUG: Copy meshgrid after broadcasting, fixing #8561 | Eric Wieser | 2017-02-13 | 2 | -10/+17 |
| |/ | | | | | | | Also, remove some unused variables | ||||
* | | DOC: Indicate that axis param to average may be a tuple of ints. | Alex Rothberg | 2017-02-12 | 1 | -3/+10 |
|/ | |||||
* | Revert "DOC: gradient uses 1st order central difference in the interior" | Alessandro Pietro Bardelli | 2017-02-12 | 1 | -3/+3 |
| | |||||
* | Merge pull request #8441 from eric-wieser/apply_along_axis-nd | Stephan Hoyer | 2017-02-11 | 2 | -68/+157 |
|\ | | | | | BUG: Fix crash on 0d return value in apply_along_axis | ||||
| * | MAINT: Improve error-checking of axis argument | Eric Wieser | 2017-02-11 | 1 | -3/+2 |
| | | | | | | | | Copied from the implementation in core.shape_base.stack | ||||
| * | TST: Verify apply_along_axis now works on masked arrays | Eric Wieser | 2017-02-11 | 1 | -0/+14 |
| | | | | | | | | | | Note that this is not a full subsitute for np.ma.apply_along_axis, as that allows functions to return a mix of np.ma.masked and scalars | ||||
| * | MAINT: Transpose the result, rather than working with a transposed view | Eric Wieser | 2017-02-11 | 1 | -23/+34 |
| | | | | | | | | | | | | | | .transpose does not specify that it must return a view, so subclasses (like np.ma.array) could otherwise break this. This exposes some more need for matrix special casing. | ||||
| * | BUG: Work around evil matrix.__array_prepare__ | Eric Wieser | 2017-02-11 | 2 | -4/+15 |
| | | |||||
| * | BUG: Call __array_prepare__ before __array_wrap__ | Eric Wieser | 2017-02-11 | 1 | -1/+4 |
| | | |||||
| * | MAINT: Use np.ndindex, which seems just as efficient | Eric Wieser | 2017-02-11 | 1 | -18/+8 |
| | | |||||
| * | BUG: Fix crash on 0d return value in apply_along_axis | Eric Wieser | 2017-02-11 | 2 | -64/+125 |
| | | | | | | | | | | | | Also: ENH: Support arbitrary dimensionality of return value MAINT: remove special casing | ||||
* | | DOC: gradient uses 1st order central difference in the interior (#8605) | drabach | 2017-02-11 | 1 | -3/+3 |
| | | | | | | The gradient function uses 1st order central difference in the interior, not second order. | ||||
* | | BUG: Make iscomplexobj compatible with custom dtypes again | Joerg Behrmann | 2017-02-10 | 2 | -5/+12 |
|/ | | | | | | | | | This change makes iscomplexobj compatible with custom array types using custom dtypes, that are not fully compatible to Numpys dtypes, which can nevertheless be coerced to a numpy array with asarray again, as has been the behaviour before PR #7936. Fixes #8601 | ||||
* | MAINT: Remove __setslice__ and __getslice__ | Eric Wieser | 2017-02-09 | 2 | -13/+0 |
| | | | | | This code was only here for Python 2.5 compatibility, but numpy requires 2.7 at minimum | ||||
* | MAINT: typo in histogram docstring | drlvk | 2017-01-28 | 1 | -1/+1 |
| | | | "it's arguments" should be "its arguments" | ||||
* | Merge pull request #8326 from juliantaylor/vectorize-packbits | Charles Harris | 2017-01-20 | 1 | -1/+178 |
|\ | | | | | ENH: Vectorize packbits with SSE2 | ||||
| * | TST: add extended packbits tests | Julian Taylor | 2017-01-12 | 1 | -1/+178 |
| | | | | | | | | | | Larger data to account for future vectorization. Also add benchmarks for packbits and unpackbits | ||||
* | | Merge pull request #8470 from MartinThoma/savez_compressed_docs | Charles Harris | 2017-01-17 | 1 | -6/+44 |
|\ \ | | | | | | | DOC: Add example to np.savez_compressed | ||||
| * | | DOC: Add example to np.savez_compressed | Martin Thoma | 2017-01-15 | 1 | -6/+44 |
| |/ | |||||
* | | BUG: fix wrong masked median for some special cases | Julian Taylor | 2017-01-17 | 1 | -0/+12 |
|/ | | | | | | | the masked nans which are equivalent to valid infs must be replaced with infs earlier otherwise the inf is lost in the masked sum of the low and high part. Closes gh-8487 | ||||
* | BUG: Fix apply_along_axis() for when func1d() returns a non-ndarray (#8426) | Ben Rowland | 2016-12-31 | 2 | -1/+7 |
| | | | | | | | | | | | | * BUG: Closes issue #8419 Fixes issue in apply_along_axis() where func1d() returns a non ndarray * BUG: Fix apply_along_axis() when func1d() returns a non-ndarray Closes issue #8419. Fixes issue in apply_along_axis() where func1d() returns a non ndarray by calling asanyarray() on result. This commit fixes a too long line in the test case. | ||||
* | change int check to bool check for rowvar in cov | Brandon Carter | 2016-12-19 | 1 | -2/+2 |
| | |||||
* | change rowvar param to boolean from int in corrcoef | Brandon Carter | 2016-12-19 | 1 | -3/+3 |
| | |||||
* | Merge pull request #8382 from charris/fix-python-3.6-compat | Charles Harris | 2016-12-17 | 1 | -1/+1 |
|\ | | | | | DEP: Fix escaped string characters deprecated in Python 3.6. | ||||
| * | DEP: Fix escaped string characters deprecated in Python 3.6. | Charles Harris | 2016-12-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | In Python 3.6 a number of escape sequences that were previously accepted -- for instance "\(" that was translated to "\\(" -- are deprecated. To retain the previous behavior either raw strings must be used or the backslash must be properly escaped itself. | ||||
* | | ENH: retune apply_along_axis nanmedian cutoff | Julian Taylor | 2016-12-17 | 1 | -1/+2 |
|/ | | | | | Old value was erroneously obtained on a sorted array which is a best case for the median of 3 pivoted introsort. | ||||
* | Merge pull request #8364 from juliantaylor/masked-median-nan | Charles Harris | 2016-12-12 | 4 | -30/+78 |
|\ | | | | | BUG: handle unmasked NaN in ma.median like normal median | ||||
| * | ENH: update the small nanmedian threshold | Julian Taylor | 2016-12-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The apply_along_axis path is significantly more expensive than currently accounted for in the check. Increase the minimum axis size from 400 to 1000 elements. Either apply_along_axis got more expensive over time or the original benchmarking was flawed. | ||||
| * | BUG: handle unmasked NaN in ma.median like normal median | Julian Taylor | 2016-12-12 | 3 | -29/+77 |
| | | | | | | | | | | | | | | | | | | | | | | This requires to base masked median on sort(endwith=False) as we need to distinguish Inf and NaN. Using Inf as filler element of the sort does not work as then the mask is not guaranteed to be at the end. Closes gh-8340 Also fixed 1d ma.median not handling np.inf correctly, the nd variant was ok. | ||||
* | | BUG: fix nanpercentile not returning scalar with axis argument | Julian Taylor | 2016-12-11 | 2 | -2/+6 |
|/ | | | | Closes gh-8220 | ||||
* | MAINT: Other cleanup Python < 2.7 and Python3 < 3.4 | Alexandr Shadchin | 2016-12-09 | 3 | -25/+6 |
| | |||||
* | BUG: Apply more robust string converts in loadtxt | gfyoung | 2016-12-08 | 2 | -2/+11 |
| | | | | | | | | | | The original dtype converters for bytes and str did not account for converting objects of str or bytes dtype respectively. Replace the original converters with those from numpy.compat, which are much more robust. Closes gh-8033. | ||||
* | BUG: fix packbits and unpackbits to correctly handle empty arrays | Takuya Akiba | 2016-12-02 | 1 | -2/+63 |
| | |||||
* | MAINT: let average preserve subclass information. | Marten van Kerkwijk | 2016-11-19 | 2 | -18/+3 |
| | | | | | | This behaviour matches that for most other numpy functions (such as np.mean). It was initially slated for 1.12, but replaced by a FutureWarning. Hence, this is for 1.13. | ||||
* | Added axis argument to numpy.unique | martinosorb | 2016-11-13 | 2 | -116/+259 |
| | |||||
* | Merge pull request #8194 from alvarosg/scalar-piecewise | seberg | 2016-11-09 | 2 | -6/+23 |
|\ | | | | | BUG: np.piecewise not working for scalars | ||||
| * | BUG: np.piecewise not working for scalars | alvarosg | 2016-10-26 | 2 | -6/+23 |
| | | |||||
* | | Merge pull request #5302 from idfah/master | Ralf Gommers | 2016-11-06 | 2 | -11/+32 |
|\ \ | | | | | | | Fixed meshgrid to return arrays with same dtype as arguments. | ||||
| * | | Fix to meshgrid allows passing array sub-classes | Elliott Forney | 2016-10-10 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed meshgrid to return arrays with same dtype as arguments. | Elliott M Forney | 2014-11-20 | 2 | -11/+32 |
| | | |