summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2019-05-11 20:51:06 -0700
committerGitHub <noreply@github.com>2019-05-11 20:51:06 -0700
commit9dad3488e35ae3d26184851a5d7d7a1a171a5857 (patch)
tree8e85d1e37aa66278a22750fa1adcd3b345ac346d /doc
parent3bdc915f8a3d01625dda917102978b81b3609ace (diff)
parentb415ffad5327c5ff656b94c6aaf683209c9c8104 (diff)
downloadnumpy-9dad3488e35ae3d26184851a5d7d7a1a171a5857.tar.gz
Merge pull request #12962 from mattip/unpackbits
ENH: Add 'bitorder' keyword to packbits, unpackbits
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.17.0-notes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index 80cb36a43..dcadc009b 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -163,6 +163,11 @@ Floating point scalars implement ``as_integer_ratio`` to match the builtin float
This returns a (numerator, denominator) pair, which can be used to construct a
`fractions.Fraction`.
+`numpy.packbits` and `numpy.unpackbits` accept an ``order`` keyword
+-------------------------------------------------------------------
+The ``order`` keyword defaults to ``big``, and will order the **bits**
+accordingly. For ``'big'`` 3 will become ``[0, 0, 0, 0, 0, 0, 1, 1]``, and
+``[1, 1, 0, 0, 0, 0, 0, 0]`` for ``little``
Improvements
============