summaryrefslogtreecommitdiff
path: root/numpy/ma
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* (no commit message)pierregm2010-08-091-27/+27
|
* ma.extraspierregm2010-08-092-29/+52
| | | | * fixed the documentation of (flat)notmasked_xxx
* * fixed numpy.ma.extras.flatnotmasked_contiguous (bug #1576)pierregm2010-08-091-10/+8
|
* DEP: Remove ma.extras functions that were deprecated in 1.4.0.rgommers2010-08-051-53/+3
|
* ENH: Add ddof keyword to masked versions of cov and corrcoef.Charles Harris2010-07-072-8/+47
|
* Fixed __eq__/__ne__ for scalarspierregm2010-06-292-4/+29
|
* * masked is now an instance of a new object, MaskedConstant, that inherits ↵pierregm2010-06-101-3/+38
| | | | from MaskedArray but prints slightly differently (no mention of a fill_value, because 'masked' can't be filled...)
* * Added `apply_over_axes` as requested in ticket #1480pierregm2010-05-162-288/+326
|
* Fixed .var for arrays with 1 more valid value than ddofspierregm2010-04-272-2/+15
|
* * added test_take_masked_indicespierregm2010-03-221-0/+30
|
* * fixed mvoid.__repr__pierregm2010-03-183-359/+454
| | | | | | | | | * 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().
* ENH: ma: use domains also in _DomainedBinaryOperation.__call__ (previously ↵Pauli Virtanen2010-02-211-0/+4
| | | | they were used only in __array_wrap__, which wouldn't be called from __div__ et al. which call the domained operations directly)
* 3K: ENH: ma: fix str vs bytes and int issues in ma testsPauli Virtanen2010-02-213-8/+18
|
* BUG: ma: fix inoperative error state set/restorePauli Virtanen2010-02-211-5/+0
|
* BUG: ma: _check_fill_value shouldn't rely on implicit array() string castingPauli Virtanen2010-02-212-13/+14
| | | | | | | 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: implement __rtruediv__, __rfloordiv__, __rpow__ for masked arraysPauli Virtanen2010-02-211-0/+12
|