diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-08-23 16:38:31 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-08-27 07:27:00 -0600 |
commit | 64e30a7261e5a575a12beed1c3971f80779760f1 (patch) | |
tree | 9d57b9b83fbb1293717325e6557db33cfe932457 /doc | |
parent | 6d9a2a1e7a13f076cea5e38194d56e045706c1ba (diff) | |
download | numpy-64e30a7261e5a575a12beed1c3971f80779760f1.tar.gz |
ENH: missingdata: Add skipna=, keepdims= parameters to methods
Also fix some memory leaks, improve some type resolution code. The
methods still have some issues with array subtypes that needs working
through.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/2.0.0-notes.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/release/2.0.0-notes.rst b/doc/release/2.0.0-notes.rst index d1ebd1b75..4150b1ee7 100644 --- a/doc/release/2.0.0-notes.rst +++ b/doc/release/2.0.0-notes.rst @@ -25,7 +25,7 @@ list of things that do and do not work with NA values: What works with NA: * Basic indexing and slicing, as well as full boolean mask indexing. * All element-wise ufuncs. - * UFunc.reduce methods, with a new skipna parameter. + * All UFunc.reduce methods, with a new skipna parameter. * The nditer object. * Array methods: + ndarray.clip, ndarray.min, ndarray.max, ndarray.sum, ndarray.prod, @@ -40,8 +40,6 @@ What doesn't work with NA: mechanism instead of the newer nditer. * Struct dtypes, which will have corresponding struct masks with one mask value per primitive field of the struct dtype. - * UFunc.reduce of multi-dimensional arrays, with skipna=True and a ufunc - that doesn't have an identity. * UFunc.accumulate, UFunc.reduceat. * Ufuncs calls with both NA masks and a where= mask at the same time. * np.logical_and, np.logical_or, np.all, and np.any don't satisfy the @@ -59,7 +57,7 @@ Differences with R: * np.isna(nan) is False, but R's is.na(nan) is TRUE. This is because NumPy's NA is treated independently of the underlying data type. * Boolean indexing, where the result is compressed to just - the elements with true in the mask, raises if the booelan mask + the elements with true in the mask, raises if the boolean mask has an NA value in it. This is because that value could be either True or False, meaning the count of the output array is actually NA. R treats this case in a manner inconsistent with the NA model, |