Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Clarified MaskedArray.view documentation, and added more tests | Thomas Robitaille | 2012-11-22 | 2 | -10/+48 | |
| | | | ||||||
| * | | Added test for fill_value behavior in MaskedArray.view, and use fill_value ↵ | Thomas Robitaille | 2012-11-20 | 2 | -1/+33 | |
| | | | | | | | | | | | | to set the fill value, rather than _fill_value, since using fill_value takes care of setting _fill_value to an array. | |||||
| * | | Added a `fill_value` keyword to `MaskedArray.view`, and clarify the behavior ↵ | Thomas Robitaille | 2012-11-20 | 1 | -4/+16 | |
| | | | | | | | | | | | | in the docstring. | |||||
| * | | Don't reset the fill_value of a MaskedArray when calling view() with no dtype | Thomas Robitaille | 2012-10-31 | 1 | -1/+4 | |
| |/ | ||||||
* | | MAINT: In test_varstd_specialcases out parameters should be 0-d. | Charles Harris | 2012-11-23 | 1 | -2/+2 | |
| | | | | | | | | | | | | The original worked, but that is because the masked array methods are not properly checking dimensions in this case. That should also be fixed at some point. | |||||
* | | MAINT: Avoid unneeded call in masked array std method. | Charles Harris | 2012-11-23 | 1 | -1/+1 | |
| | | | | | | | | | | The square root of the variance was taken twice when the out parameter was specified. | |||||
* | | TST: Add test for gh-2757. | Charles Harris | 2012-11-23 | 1 | -0/+9 | |
| | | ||||||
* | | BUG: gh-2757, masked array var method should zero masked out parameter. | Charles Harris | 2012-11-23 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | When a is a 1-d masked array with all values masked and b is a 0-d masked array, then a.var(out=b) fails to set the underlying masked value of b, causing an invalid value warning to be raised in a.std(out=b) whenever b contained a masked negative number. This fix sets the underlying value to 0, which is consistent with the n-d case. A better fix might be to add an out parameter to the masked array ufuncs, but that is a bigger project. | |||||
* | | Change test to use np.testing.assert_ | Thomas Robitaille | 2012-11-20 | 1 | -1/+1 | |
| | | ||||||
* | | Fix setting of fill_value for string columns in Python 3 | Thomas Robitaille | 2012-11-13 | 2 | -1/+6 | |
|/ | ||||||
* | Fixed failing tests | Thomas Robitaille | 2012-10-11 | 1 | -4/+4 | |
| | ||||||
* | When accessing MaskedArray rows, always return an mvoid object | Thomas Robitaille | 2012-10-11 | 1 | -6/+4 | |
| | ||||||
* | BUG: fix pickling MaskedConstant | Robert Kende | 2012-06-11 | 1 | -0/+6 | |
| | ||||||
* | TST: pickling MaskedConstant | Robert Kende | 2012-06-11 | 1 | -0/+10 | |
| | ||||||
* | PY3: Fix fromtextfile "ResourceWarning: unclosed file". | Charles Harris | 2012-03-12 | 1 | -0/+8 | |
| | ||||||
* | ENH: add angle() function to ma | Eric Firing | 2012-02-22 | 2 | -1/+5 | |
| | ||||||
* | BUG: Fix improper usage of warning filters in the tests | Mark Wiebe | 2012-02-08 | 2 | -8/+20 | |
| | ||||||
* | TST: Add test for weight modification. | Charles Harris | 2011-12-15 | 1 | -0/+2 | |
| | ||||||
* | BUG: Handle weight correctly and don't modify the original. | Charles Harris | 2011-12-15 | 1 | -8/+13 | |
| | ||||||
* | MAINT: Make masked ma.polyfit match current polyfit. | Charles Harris | 2011-12-15 | 2 | -28/+20 | |
| | ||||||
* | ENH: umath: Make sum, prod, any, or functions use the .reduce method directly | Mark Wiebe | 2011-08-27 | 1 | -3/+3 | |
| | | | | | | | | | | | This required some extensive changes, like: * Making logical_or, logical_and, and logical_not on object arrays behave like their Python equivalents instead of calling methods on the objects * Changing the units for a fair number of the binary operations to None, so they don't get initialized to their unit values at the start A consequence of this is that multi-dimensional reductions like sum, prod, any, or all no longer need to make copies, so are faster in some cases. | |||||
* | TST: ufunc: Tweak ma test to have a good output parameter, disable crashing ↵ | Mark Wiebe | 2011-08-27 | 1 | -2/+2 | |
| | | | | NA test temporarily | |||||
* | BUG: ma: Fix a bug in numpy.ma hardmasks, exposed by the boolean indexing ↵ | Mark Wiebe | 2011-08-27 | 1 | -1/+1 | |
| | | | | rewrite | |||||
* | ENH: missingdata: Implemented boolean assignment, working with NA masks | Mark Wiebe | 2011-08-27 | 1 | -1/+1 | |
| | ||||||
* | ENH: datetime: Masked arrays now use NaT as default filler value. | Ben Walsh | 2011-07-19 | 1 | -2/+2 | |
| | ||||||
* | BUG: datetime: Various fixes for datetime arrays. | Ben Walsh | 2011-07-19 | 1 | -0/+4 | |
| | ||||||
* | ENH: Fix some functions to use copyto instead of the deprecated putmask. | Charles Harris | 2011-07-09 | 1 | -23/+23 | |
| | ||||||
* | TST: ma: Feedback from Derek about Python 3 failures in ma tests | Mark Wiebe | 2011-07-06 | 2 | -4/+4 | |
| | ||||||
* | ENH: ma: Fix up ma and its tests to work with default same_kind casting | Mark Wiebe | 2011-06-22 | 2 | -4/+5 | |
| | ||||||
* | ENH: Tighten up dtype parsing in general, to catch some more invalid ↵ | Mark Wiebe | 2011-05-20 | 1 | -2/+2 | |
| | | | | | | | datetime results There is also a problem with 'O4' and 'O8', which are platform-specific. I changed it to still accept both, but produce a deprecation warning. | |||||
* | STY: Replace assert by assert_ in tests. There remain 124 uses of | Charles Harris | 2011-04-05 | 5 | -130/+131 | |
| | | | | assert in non-testing files that should be checked for correctness. | |||||
* | STY: Fix up some remaining old-style exceptions. | Charles Harris | 2011-04-05 | 1 | -6/+6 | |
| | | | | I think that is the end of it. | |||||
* | STY: Update exception styles, trickier ones. | Charles Harris | 2011-04-05 | 1 | -3/+3 | |
| | ||||||
* | STY: Update exception style, easy ones. | Charles Harris | 2011-04-05 | 3 | -14/+14 | |
| | ||||||
* | STY: Replace remaining old style classes with classes subclassing object. | Charles Harris | 2011-04-05 | 1 | -1/+1 | |
| | ||||||
* | TST: Add test for ticket #1559. | Charles Harris | 2011-04-02 | 1 | -0/+10 | |
| | ||||||
* | DEP: remove deprecated items from ma/core.py | rgommers | 2011-03-11 | 2 | -113/+68 | |
| | | | | | | | | | | The following are removed: - MaskedArray.raw_data method - MaskedArray flag keyword - make_mask flag keyword - allclose fill_value keyword Also change some assert's to assert_(). | |||||
* | DEP: remove unique1d, setmember1d and intersect1d_nu. | rgommers | 2011-03-11 | 1 | -5/+5 | |
| | ||||||
* | TST: fix two divide-by-zero test warnings. | rgommers | 2011-03-11 | 1 | -2/+6 | |
| | ||||||
* | DOC: merge more doc wiki edits. | rgommers | 2011-03-02 | 1 | -3/+9 | |
| | ||||||
* | WRN: iter: Fix half-float warnings, other small tweaks | Mark Wiebe | 2011-01-27 | 1 | -4/+1 | |
| | ||||||
* | ENH: ufunc: Make many more tests pass with the new ufunc code | Mark Wiebe | 2011-01-21 | 1 | -1/+3 | |
| | ||||||
* | ENH: core: Clean things up a bit | Mark Wiebe | 2011-01-19 | 1 | -2/+2 | |
| | | | | | * Make PyArray_CastToType always produce a copy * Remove special cases in ndarray.astype | |||||
* | ENH: core: Replace PyArray_CastTo with a call to PyArray_CopyInto | Mark Wiebe | 2011-01-17 | 2 | -5/+13 | |
| | | | | | | | | | Since CopyInto uses the dtype transfer mechanism to do the copying, this also fully handles casting. This also exposed a byte order issue in the dtype transfer code of converting to object arrays. The switch from position-based structure copying to name-based copying required a small change to a masked array test as well. | |||||
* | ENH: core: Switch nonzero to use the iterator as an example, add ↵ | Mark Wiebe | 2011-01-16 | 1 | -0/+2 | |
| | | | | count_nonzero function | |||||
* | 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 | 2 | -7/+39 | |
| | | | | | | '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 | 2 | -11/+32 | |
| |