diff options
author | Mark Wiebe <mwwiebe@gmail.com> | 2011-08-16 19:11:22 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-08-27 07:26:55 -0600 |
commit | ba4d1161fe4943cb720f35c0abfd0581628255d6 (patch) | |
tree | 3a28a0d2009d11be2f5a5b72dc55f55185353569 /doc/release | |
parent | a3a0ee8c72fdd55ffacb96bbb1fa9c3569cfb3e9 (diff) | |
download | numpy-ba4d1161fe4943cb720f35c0abfd0581628255d6.tar.gz |
BUG: missingdata: Fix mask usage in PyArray_TakeFrom, add tests for it
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/2.0.0-notes.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/release/2.0.0-notes.rst b/doc/release/2.0.0-notes.rst index ddedf85de..0ba7594fe 100644 --- a/doc/release/2.0.0-notes.rst +++ b/doc/release/2.0.0-notes.rst @@ -29,7 +29,8 @@ What works with NA: * Array methods: + ndarray.clip, ndarray.min, ndarray.max, ndarray.sum, ndarray.prod, ndarray.conjugate, ndarray.diagonal - + numpy.concatenate + + numpy.concatenate, numpy.column_stack, numpy.hstack, + numpy.vstack, numpy.dstack What doesn't work with NA: * Fancy indexing, such as with lists and partial boolean masks. @@ -42,6 +43,7 @@ What doesn't work with NA: rules NA | True == True and NA & False == False yet. * Array methods: + ndarray.argmax, ndarray.argmin, + + numpy.repeat Custom formatter for printing arrays @@ -62,6 +64,12 @@ view into the original array instead of making a copy. This makes these functions more consistent with NumPy's general approach of taking views where possible, and performs much faster as well. +The function np.concatenate tries to match the layout of its input +arrays. Previously, the layout did not follow any particular reason, +and depended in an undesirable on the particular axis chosen for +concatenation. A bug was also fixed which silently allowed out of bounds +axis arguments. + Deprecations ============ @@ -69,3 +77,10 @@ Deprecations Specifying a custom string formatter with a `_format` array attribute is deprecated. The new `formatter` keyword in ``numpy.set_printoptions`` or ``numpy.array2string`` can be used instead. + +In the C API, direct access to the fields of PyArrayObject* has been +deprecated. Direct access has been recommended against for many releases, but +now you can test your code against the deprecated C API by #defining +NPY_NO_DEPRECATED_API before including any NumPy headers. Expect +something similar for PyArray_Descr* and other core objects in the +future as preparation for NumPy 2.0. |