Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added tests to test_eq_w_None (bug #1493) | pierregm | 2010-10-12 | 1 | -0/+12 |
| | |||||
* | Revert "merging refs/remotes/origin/master into HEAD" | pierregm | 2010-10-12 | 1 | -12/+2 |
| | | | | | This reverts commit a14dd542532d383610c1b01c5698b137dd058fea, reversing changes made to 11ee694744f2552d77652ed929fdc2b4ccca6843. | ||||
* | Add more tests to test_eq_w_None (bug #1493) | pierregm | 2010-10-11 | 1 | -2/+12 |
| | |||||
* | * ma.core._print_templates: switched the keys 'short' and 'long' to ↵ | pierregm | 2010-09-13 | 1 | -0/+33 |
| | | | | | | 'short_std' and 'long_std' respectively (bug #1586) * Fixed incorrect broadcasting in ma.power (bug #1606) | ||||
* | fix (flat)notmasked_/contiguous/edges/ | pierregm | 2010-08-11 | 1 | -4/+13 |
| | |||||
* | ma.extras | pierregm | 2010-08-09 | 1 | -6/+20 |
| | | | | * fixed the documentation of (flat)notmasked_xxx | ||||
* | ENH: Add ddof keyword to masked versions of cov and corrcoef. | Charles Harris | 2010-07-07 | 1 | -0/+6 |
| | |||||
* | Fixed __eq__/__ne__ for scalars | pierregm | 2010-06-29 | 1 | -0/+15 |
| | |||||
* | * Added `apply_over_axes` as requested in ticket #1480 | pierregm | 2010-05-16 | 1 | -211/+223 |
| | |||||
* | Fixed .var for arrays with 1 more valid value than ddofs | pierregm | 2010-04-27 | 1 | -1/+14 |
| | |||||
* | * added test_take_masked_indices | pierregm | 2010-03-22 | 1 | -0/+30 |
| | |||||
* | * fixed mvoid.__repr__ | pierregm | 2010-03-18 | 2 | -325/+360 |
| | | | | | | | | | * fixed mvoid.__str__ for Python 2.4 (bug #1373) * add support to 'fill_value' and 'hardmask' in arange/empty/identity/zeros/ones (#1391) * intercept invalid values in `power` and derived * added empty_like/ones_like/zeros_like to the numpy.ma namespace * Allow indices as masked arrays in numpy.ma.take (#1418) * test_core : temporarily disable warnings when using numpy ufuncs on MaskedArray | ||||
* | BUG: Fix possibly unbalanced seterr calls. Fixes change of divide state after | Charles Harris | 2010-02-21 | 1 | -39/+48 |
| | | | | running np.test(). | ||||
* | 3K: ENH: ma: fix str vs bytes and int issues in ma tests | Pauli Virtanen | 2010-02-21 | 3 | -8/+18 |
| | |||||
* | BUG: ma: _check_fill_value shouldn't rely on implicit array() string casting | Pauli Virtanen | 2010-02-21 | 1 | -13/+13 |
| | | | | | | | Since array([12345678.9, 'a']) == array(['12345678', 'a'], dtype='|S8') ie., automatic string conversion uses only the size of the minimal data type, not the size of the string representation, code should not rely on array() casting items implicitly to object arrays. | ||||
* | 3K: ma: solve some bytes vs. str issues in tests | Pauli Virtanen | 2010-02-21 | 2 | -18/+28 |
| | |||||
* | DEP: Fix deprecation warnings in Python 3.1. The warnings come from the unittest | Charles Harris | 2010-02-20 | 5 | -399/+399 |
| | | | | | | | | | module. The fix should be good for Python >= 2.4 and used the following sed script: s/\<failUnless\>/assertTrue/g s/\<failIf\>/assertFalse/g s/\<failUnlessEqual\>/assertEqual/g s/\<failUnlessRaises\>/assertRaises/g | ||||
* | 3K: BUG: work around bugs in Python 3.1.1 2to3 by not using fixes_reduce | Pauli Virtanen | 2010-02-20 | 2 | -0/+8 |
| | | | | Instead, manually import reduce where necessary. | ||||
* | * Make sure _fill_value is never None for structured masked arrays | pierregm | 2010-02-08 | 1 | -1/+14 |
| | |||||
* | * Force the fill_value of a structured masked array to be defined (bug #1332) | pierregm | 2010-02-07 | 1 | -0/+7 |
| | |||||
* | * fix methods using axis when the mask is nomask (from 1.4.x r8041) | pierregm | 2010-01-12 | 1 | -0/+20 |
| | |||||
* | * Switch the order of optional parameters in ma.argsort for compatibiity w/ ↵ | pierregm | 2010-01-06 | 1 | -1/+5 |
| | | | | np.argsort (bug #1349) | ||||
* | * make sure mvoid.tolist returns standard Python objects | pierregm | 2009-12-19 | 1 | -0/+20 |
| | |||||
* | * Force _fill_value to a 0d array (so that field values can be propagated, ↵ | pierregm | 2009-12-18 | 1 | -2/+15 |
| | | | | | | bug #1332) * Make .fill_value return a scalar (int, float, void...) and not a 0d array | ||||
* | * fix .tolist() for mvoid objects (bug #1330) | pierregm | 2009-12-18 | 1 | -0/+4 |
| | |||||
* | * Add support for `fill_value` to mvoid | pierregm | 2009-12-18 | 1 | -5/+28 |
| | | | | | * Simplify mvoid._get_data * Simplify MaskedArray.tolist and add support for individually masked fields (bug #1330) | ||||
* | * added log2 | pierregm | 2009-12-17 | 1 | -1/+39 |
| | | | | | | * removed the global np.seterr * prevented warnings to be emitted with ma.ufuncs * introduced mvoid to help the iteration/item access of masked structured arrays | ||||
* | * Bugfix #1173 and #1174 (Michael D.) | pierregm | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | 3K: fix ma/test_mrecords.py so that it does not fail in test setup on Py3K | Pauli Virtanen | 2009-12-06 | 1 | -3/+11 |
| | |||||
* | * fixed a pb when using sum/prod on an array with dtype np.object | pierregm | 2009-11-16 | 1 | -823/+844 |
| | |||||
* | Fix #1256: repr of masked array crashes with Unicode elements | mdroe | 2009-10-14 | 1 | -0/+4 |
| | |||||
* | * ma.masked_equal : force the `fill_value` of the output to `value` (ticket ↵ | pierregm | 2009-10-09 | 1 | -0/+6 |
| | | | | | | | | | | | | | #1253) * lib._iotools: - NameValidator : add the `nbfields` optional argument to validate - add easy_dtype * lib.io.genfromtxt : - add the `autostrip` optional argument (ticket #1238) - use `invalid_raise=True` as default - use the easy_dtype mechanism (ticket #1252) | ||||
* | Move masked array test out of numpy.core. | David Cournapeau | 2009-09-16 | 1 | -0/+4 |
| | |||||
* | Move ma/matrix regressions out of numpy.core tests. | David Cournapeau | 2009-09-16 | 1 | -0/+35 |
| | |||||
* | * Bugfix for ticket #1207 | pierregm | 2009-08-30 | 1 | -0/+8 |
| | |||||
* | * fixed np.ma.average on integersw/ mask (bug #1188) | pierregm | 2009-08-06 | 1 | -24/+31 |
| | |||||
* | * fixed _from_methods to run on ndarrays (bug #1187) | pierregm | 2009-08-06 | 1 | -1/+11 |
| | |||||
* | * Fixed __eq__ and __ne__ on masked singleton | pierregm | 2009-07-22 | 1 | -0/+10 |
| | |||||
* | Fix to setdiff1d (and masked version) + tests (#1133, by N.C.) | Robert Cimrman | 2009-07-20 | 1 | -1/+1 |
| | |||||
* | core : fixed MaskedArray.__array_finalize__ when the mask is full of False ↵ | pierregm | 2009-07-18 | 2 | -5/+34 |
| | | | | | | (bugfix #1166) extras : introduced clump_masked and clump_unmasked | ||||
* | Enhancements to arraysetops (ticket #1133, by Neil Crighton) | Robert Cimrman | 2009-07-08 | 1 | -31/+25 |
| | |||||
* | * Bugfix #1129. Thanks to Reggie. | pierregm | 2009-06-29 | 1 | -0/+8 |
| | |||||
* | * getdata : prevent unnecessary copies (thx to Eric Firing) | pierregm | 2009-05-13 | 1 | -3/+25 |
| | | | | | * _Domained/MaskedUnary/BinaryOperations: optimization by preventing the use of np.where and the calculation of domain. Here's the catch: we're basically cheating. We force np.seterr(divide='ignore',invalid='ignore') before computing the results, then mask the invalid values (if any) and reset the corresponding entries in .data to the input. Finally, we reset the error status. This playing around with the error status may (or may not) fail in multi-thread. It's still faaar faster than computing the domain (especially _DomainSafeDivide) when the inputs are large... | ||||
* | Fix some failing tests due to name-space issues. | Travis Oliphant | 2009-05-10 | 1 | -4/+4 |
| | |||||
* | * harden_mask, soften_mask, unshare_mask and shrink_mask now return self | pierregm | 2009-05-09 | 1 | -0/+28 |
| | |||||
* | * fixed notmasked_edges when no data are masked | pierregm | 2009-04-13 | 1 | -14/+38 |
| | |||||
* | _arraymethod : fallback when a method is called as MaskedArray.method | pierregm | 2009-04-11 | 1 | -0/+12 |
| | |||||
* | * MaskedArray.__setstate__ : fixed for structured array | pierregm | 2009-02-23 | 1 | -1/+13 |
| | |||||
* | * MaskedArray.__array_wrap__ : forces the domain (if any) to a ndarray (fill ↵ | pierregm | 2009-02-11 | 1 | -1/+10 |
| | | | | with True) | ||||
* | * prevent modifications to the mask to be back-propagated w/ __array_wrap__ | pierregm | 2009-02-10 | 1 | -0/+17 |
| |