summaryrefslogtreecommitdiff
path: root/numpy/ma
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Clarified MaskedArray.view documentation, and added more testsThomas Robitaille2012-11-222-10/+48
| | |
| * | Added test for fill_value behavior in MaskedArray.view, and use fill_value ↵Thomas Robitaille2012-11-202-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 Robitaille2012-11-201-4/+16
| | | | | | | | | | | | in the docstring.
| * | Don't reset the fill_value of a MaskedArray when calling view() with no dtypeThomas Robitaille2012-10-311-1/+4
| |/
* | MAINT: In test_varstd_specialcases out parameters should be 0-d.Charles Harris2012-11-231-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 Harris2012-11-231-1/+1
| | | | | | | | | | The square root of the variance was taken twice when the out parameter was specified.
* | TST: Add test for gh-2757.Charles Harris2012-11-231-0/+9
| |
* | BUG: gh-2757, masked array var method should zero masked out parameter.Charles Harris2012-11-231-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 Robitaille2012-11-201-1/+1
| |
* | Fix setting of fill_value for string columns in Python 3Thomas Robitaille2012-11-132-1/+6
|/
* Fixed failing testsThomas Robitaille2012-10-111-4/+4
|
* When accessing MaskedArray rows, always return an mvoid objectThomas Robitaille2012-10-111-6/+4
|
* BUG: fix pickling MaskedConstantRobert Kende2012-06-111-0/+6
|
* TST: pickling MaskedConstantRobert Kende2012-06-111-0/+10
|
* PY3: Fix fromtextfile "ResourceWarning: unclosed file".Charles Harris2012-03-121-0/+8
|
* ENH: add angle() function to maEric Firing2012-02-222-1/+5
|
* BUG: Fix improper usage of warning filters in the testsMark Wiebe2012-02-082-8/+20
|
* TST: Add test for weight modification.Charles Harris2011-12-151-0/+2
|
* BUG: Handle weight correctly and don't modify the original.Charles Harris2011-12-151-8/+13
|
* MAINT: Make masked ma.polyfit match current polyfit.Charles Harris2011-12-152-28/+20
|
* ENH: umath: Make sum, prod, any, or functions use the .reduce method directlyMark Wiebe2011-08-271-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 Wiebe2011-08-271-2/+2
| | | | NA test temporarily
* BUG: ma: Fix a bug in numpy.ma hardmasks, exposed by the boolean indexing ↵Mark Wiebe2011-08-271-1/+1
| | | | rewrite
* ENH: missingdata: Implemented boolean assignment, working with NA masksMark Wiebe2011-08-271-1/+1
|
* ENH: datetime: Masked arrays now use NaT as default filler value.Ben Walsh2011-07-191-2/+2
|
* BUG: datetime: Various fixes for datetime arrays.Ben Walsh2011-07-191-0/+4
|
* ENH: Fix some functions to use copyto instead of the deprecated putmask.Charles Harris2011-07-091-23/+23
|
* TST: ma: Feedback from Derek about Python 3 failures in ma testsMark Wiebe2011-07-062-4/+4
|
* ENH: ma: Fix up ma and its tests to work with default same_kind castingMark Wiebe2011-06-222-4/+5
|
* ENH: Tighten up dtype parsing in general, to catch some more invalid ↵Mark Wiebe2011-05-201-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 ofCharles Harris2011-04-055-130/+131
| | | | assert in non-testing files that should be checked for correctness.
* STY: Fix up some remaining old-style exceptions.Charles Harris2011-04-051-6/+6
| | | | I think that is the end of it.
* STY: Update exception styles, trickier ones.Charles Harris2011-04-051-3/+3
|
* STY: Update exception style, easy ones.Charles Harris2011-04-053-14/+14
|
* STY: Replace remaining old style classes with classes subclassing object.Charles Harris2011-04-051-1/+1
|
* TST: Add test for ticket #1559.Charles Harris2011-04-021-0/+10
|
* DEP: remove deprecated items from ma/core.pyrgommers2011-03-112-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.rgommers2011-03-111-5/+5
|
* TST: fix two divide-by-zero test warnings.rgommers2011-03-111-2/+6
|
* DOC: merge more doc wiki edits.rgommers2011-03-021-3/+9
|
* WRN: iter: Fix half-float warnings, other small tweaksMark Wiebe2011-01-271-4/+1
|
* ENH: ufunc: Make many more tests pass with the new ufunc codeMark Wiebe2011-01-211-1/+3
|
* ENH: core: Clean things up a bitMark Wiebe2011-01-191-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_CopyIntoMark Wiebe2011-01-172-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 Wiebe2011-01-161-0/+2
| | | | count_nonzero function
* 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-132-7/+39
| | | | | | 'short_std' and 'long_std' respectively (bug #1586) * Fixed incorrect broadcasting in ma.power (bug #1606)
* fix (flat)notmasked_/contiguous/edges/pierregm2010-08-112-11/+32
|