summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgfyoung <gfyoung@mit.edu>2015-12-30 17:19:06 -0800
committergfyoung <gfyoung@mit.edu>2016-01-15 01:16:20 +0000
commit01046460ddc1bef7aa5d3a6ce2e10202a3c954c5 (patch)
tree3fea58c6a96b6888b1008b9c2d93b45d652d0f6f /doc
parent7141f40b58ed1e7071cde78ab7bc8ab37e9c5983 (diff)
downloadnumpy-01046460ddc1bef7aa5d3a6ce2e10202a3c954c5.tar.gz
BUG: Enforce order param for MaskedArray construction
Adds the 'order' parameter to the __new__ override in MaskedArray construction, enabling it to be enforced in methods like np.ma.core.array and np.ma.core.asarray. Closes gh-6646.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.11.0-notes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/1.11.0-notes.rst b/doc/release/1.11.0-notes.rst
index 73beab52e..b5d22d770 100644
--- a/doc/release/1.11.0-notes.rst
+++ b/doc/release/1.11.0-notes.rst
@@ -120,6 +120,15 @@ The function now internally calls the generic ``npy_amergesort``
when the type does not implement a merge-sort kind of ``argsort``
method.
+*np.ma.core.MaskedArray* now supports an ``order`` argument
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+When constructing a new ``MaskedArray`` instance, it can be
+configured with an ``order`` argument analogous to the one
+when calling ``np.ndarray``. The addition of this argument
+allows for the proper processing of an ``order`` argument
+in several MaskedArray-related utility functions such as
+``np.ma.core.array`` and ``np.ma.core.asarray``.
+
Memory and speed improvements for masked arrays
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creating a masked array with ``mask=True`` (resp. ``mask=False``) now uses