diff options
author | mattip <matti.picus@gmail.com> | 2019-02-13 18:14:05 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-05-11 09:44:05 -0700 |
commit | c2de04da9b0feb2853b9814c7953aa51a29a058e (patch) | |
tree | 6cf444560593dd835df2e037ccc915a464531036 /doc | |
parent | 634d66d5c5461c6c1480e97c1d3fbc4c4ea96a00 (diff) | |
download | numpy-c2de04da9b0feb2853b9814c7953aa51a29a058e.tar.gz |
ENH: add 'order' keyword to packbits, unpackbits
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 5 |
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 71ad17673..db281583c 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -149,6 +149,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 ============ |