| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
array never owns its data
MaskedIterator : fixed to allow .flat on masked matrices
|
|
|
|
| |
mask of the output when at least one of the inputs has a mask full of False
|
|
|
|
|
|
| |
unique1d, union1d
* use np.atleast1d instead of ma.atleast1d
|
| |
|
|
|
|
| |
* Fixed _get_recordarray for nested structures
|
|
|
|
| |
* Fixed .filled for nested structures
|
|
|
|
|
| |
* Introduced `fromflex`, to reconstruct a masked_array from the output of `toflex` (can’t `use fromrecords` as it would clash with `numpy.ma.mrecords.fromrecords`)
* Fixed a bug in MaskedBinaryOperation (#979) (wrong array broadcasting)
|
| |
|
|
|
|
| |
* fixed max/minimum_fill_value for flexible datatype
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* assert_equal : use assert_equal_array on records
* assert_array_compare : prevent the common mask to be back-propagated to the initial input arrays.
* assert_equal_array : use operator.__eq__ instead of ma.equal
* assert_equal_less: use operator.__less__ instead of ma.less
core:
* Fixed _check_fill_value for nested flexible types
* Add a ndtype option to _make_mask_descr
* Fixed mask_or for nested flexible types
* Fixed the printing of masked arrays w/ flexible types.
|
|
|
|
|
|
| |
assert_array_compare : make sure that the comparison is performed on ndarrays, and make sure we use the np version of the comparison function.
core:
* Try not to touch the data in unary/binary ufuncs, (including inplace)
|
|
|
|
| |
* If a bool or int ndarray is given as the explicit output of var/min/max, an exception is raised if the function should have output np.nan
|
| |
|
|
|
|
|
| |
* Fixed masked_all for nested dtype
* Fixed masked_all_like for nested dtype
|
|
|
|
| |
* fixed __getitem__ on arrays w/ nested dtype
|
| |
|
|
|
|
|
| |
* added copy, cumprod, cumsum, harden_mask, prod, round, soften_mask, squeeze to the namespace
* TEMPORARILY fixed a pb of compatibility with python 2.6 (involvingin(np.nan))
|
| |
|
| |
|
|
|
|
| |
masked (bug fix #948)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
: * fixed some corner cases of view
mrecords : * fixed view
: * got rid of _fieldmask for _mask
: * WARNING: setting ._mask no longer calls __setmask__ : BE CAREFUL.
: * prevent setting ._mask directly, as it screws up things: use .mask instead
test_subclassing : * clean up
|
| |
|
|
|
|
|
| |
* added __rmul and __radd__
* fixed concatenate for flexible-dtype
|
|
|
|
|
|
|
|
|
|
| |
* add dtype to the repr of masked arrays w/ flexible type
* prevent __getitem__ to return masked on flexible-type masked array
* make sure __str__ returns something sensible for flexible dtype w/ masked fields
* simplify the count method
mrecords:
* fixed a pb with fromrecords when the number of fields cannot be determined from the first element.
|
| |
|
|
|
|
| |
any) instead of reverting to default.
|
|
|
|
| |
Standardize NumPy import as "import numpy as np".
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
mrecords: make sure that the keys of self._optinfo are recognized as valid attributes.
|
| |
|
| |
|
|
|
|
| |
* test_extras: switched to assert_almost_equal in TestCov and TestCorrcoef
|
|
|
|
|
|
|
| |
* use self.__name__ for private method instances
extras
* fixed corrcoef
* introduced diagflat
|
| |
|
|
|
|
| |
MaskedArray.__new__: prevents data.mask to change shape and force a copy of _data.mask
|
|
|
|
|
|
|
|
| |
* renamed _basedict to _optinfo
* prevented the back propagation of _optinfo in _update_from : the __dict__ is copied only if the underlying object is not a MaskedArray
* fixed getmaskarray for flexible dtype
* fixed __setitem__ when filling fields (the mask might still be nomask)
* _arraymethod now stores the name of the method in both self._name and self.__name__
|
| |
|
| |
|
|
|
|
| |
DomainedBinaryOperation (bugfix 857)
|
|
|
|
| |
* Make sure that the .reshape method accepts a new shape as a list (and not as a tuple only)
|
|
|
|
| |
* fixed the reshape function/method to accept an 'order' optional parameter
|
| |
|
| |
|