summaryrefslogtreecommitdiff
path: root/numpy/ma/tests
Commit message (Collapse)AuthorAgeFilesLines
* Added tests to test_eq_w_None (bug #1493)pierregm2010-10-121-0/+12
|
* Revert "merging refs/remotes/origin/master into HEAD"pierregm2010-10-121-12/+2
| | | | | This reverts commit a14dd542532d383610c1b01c5698b137dd058fea, reversing changes made to 11ee694744f2552d77652ed929fdc2b4ccca6843.
* Add more tests to test_eq_w_None (bug #1493)pierregm2010-10-111-2/+12
|
* * ma.core._print_templates: switched the keys 'short' and 'long' to ↵pierregm2010-09-131-0/+33
| | | | | | 'short_std' and 'long_std' respectively (bug #1586) * Fixed incorrect broadcasting in ma.power (bug #1606)
* fix (flat)notmasked_/contiguous/edges/pierregm2010-08-111-4/+13
|
* ma.extraspierregm2010-08-091-6/+20
| | | | * fixed the documentation of (flat)notmasked_xxx
* ENH: Add ddof keyword to masked versions of cov and corrcoef.Charles Harris2010-07-071-0/+6
|
* Fixed __eq__/__ne__ for scalarspierregm2010-06-291-0/+15
|
* * Added `apply_over_axes` as requested in ticket #1480pierregm2010-05-161-211/+223
|
* Fixed .var for arrays with 1 more valid value than ddofspierregm2010-04-271-1/+14
|
* * added test_take_masked_indicespierregm2010-03-221-0/+30
|
* * fixed mvoid.__repr__pierregm2010-03-182-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 afterCharles Harris2010-02-211-39/+48
| | | | running np.test().
* 3K: ENH: ma: fix str vs bytes and int issues in ma testsPauli Virtanen2010-02-213-8/+18
|
* BUG: ma: _check_fill_value shouldn't rely on implicit array() string castingPauli Virtanen2010-02-211-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 testsPauli Virtanen2010-02-212-18/+28
|
* DEP: Fix deprecation warnings in Python 3.1. The warnings come from the unittestCharles Harris2010-02-205-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_reducePauli Virtanen2010-02-202-0/+8
| | | | Instead, manually import reduce where necessary.
* * Make sure _fill_value is never None for structured masked arrayspierregm2010-02-081-1/+14
|
* * Force the fill_value of a structured masked array to be defined (bug #1332)pierregm2010-02-071-0/+7
|
* * fix methods using axis when the mask is nomask (from 1.4.x r8041)pierregm2010-01-121-0/+20
|
* * Switch the order of optional parameters in ma.argsort for compatibiity w/ ↵pierregm2010-01-061-1/+5
| | | | np.argsort (bug #1349)
* * make sure mvoid.tolist returns standard Python objectspierregm2009-12-191-0/+20
|
* * Force _fill_value to a 0d array (so that field values can be propagated, ↵pierregm2009-12-181-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)pierregm2009-12-181-0/+4
|
* * Add support for `fill_value` to mvoidpierregm2009-12-181-5/+28
| | | | | * Simplify mvoid._get_data * Simplify MaskedArray.tolist and add support for individually masked fields (bug #1330)
* * added log2 pierregm2009-12-171-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.)pierregm2009-12-071-1/+1
|
* 3K: fix ma/test_mrecords.py so that it does not fail in test setup on Py3KPauli Virtanen2009-12-061-3/+11
|
* * fixed a pb when using sum/prod on an array with dtype np.objectpierregm2009-11-161-823/+844
|
* Fix #1256: repr of masked array crashes with Unicode elementsmdroe2009-10-141-0/+4
|
* * ma.masked_equal : force the `fill_value` of the output to `value` (ticket ↵pierregm2009-10-091-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 Cournapeau2009-09-161-0/+4
|
* Move ma/matrix regressions out of numpy.core tests.David Cournapeau2009-09-161-0/+35
|
* * Bugfix for ticket #1207pierregm2009-08-301-0/+8
|
* * fixed np.ma.average on integersw/ mask (bug #1188)pierregm2009-08-061-24/+31
|
* * fixed _from_methods to run on ndarrays (bug #1187)pierregm2009-08-061-1/+11
|
* * Fixed __eq__ and __ne__ on masked singletonpierregm2009-07-221-0/+10
|
* Fix to setdiff1d (and masked version) + tests (#1133, by N.C.)Robert Cimrman2009-07-201-1/+1
|
* core : fixed MaskedArray.__array_finalize__ when the mask is full of False ↵pierregm2009-07-182-5/+34
| | | | | | (bugfix #1166) extras : introduced clump_masked and clump_unmasked
* Enhancements to arraysetops (ticket #1133, by Neil Crighton)Robert Cimrman2009-07-081-31/+25
|
* * Bugfix #1129. Thanks to Reggie.pierregm2009-06-291-0/+8
|
* * getdata : prevent unnecessary copies (thx to Eric Firing)pierregm2009-05-131-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 Oliphant2009-05-101-4/+4
|
* * harden_mask, soften_mask, unshare_mask and shrink_mask now return selfpierregm2009-05-091-0/+28
|
* * fixed notmasked_edges when no data are maskedpierregm2009-04-131-14/+38
|
* _arraymethod : fallback when a method is called as MaskedArray.methodpierregm2009-04-111-0/+12
|
* * MaskedArray.__setstate__ : fixed for structured arraypierregm2009-02-231-1/+13
|
* * MaskedArray.__array_wrap__ : forces the domain (if any) to a ndarray (fill ↵pierregm2009-02-111-1/+10
| | | | with True)
* * prevent modifications to the mask to be back-propagated w/ __array_wrap__pierregm2009-02-101-0/+17
|