diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-01-14 18:57:55 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-01-14 18:57:55 -0700 |
commit | aa6335c494e4807d65404d91e0e9d25a7d2fe338 (patch) | |
tree | 768d0fcb773366101cfc53f2c9fb51c68ee20564 /doc | |
parent | a97f3a672637af604d830477ed41f5431a600c04 (diff) | |
parent | 01046460ddc1bef7aa5d3a6ce2e10202a3c954c5 (diff) | |
download | numpy-aa6335c494e4807d65404d91e0e9d25a7d2fe338.tar.gz |
Merge pull request #6912 from gfyoung/asarray_order
BUG: Enforce Order Param for MaskedArray Construction
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.11.0-notes.rst | 9 |
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 |