[Numpy-discussion] packbits / unpackbits bugs or misfeatures?
Alan G Isaac
alan.isaac at gmail.com
Sat Nov 29 20:49:47 EST 2014
Six years ago Zachary Pincus wrote:
> it would kind of make more sense, at least to me, for
> unpackbits to return a boolean array, and packbits to take
> boolean arrays. I could try to look into fixing the code
> instead of the docs, if others agree.
I agree with this. (Better late than never?)
More relevant at this point: it seems very odd
that `packbits` does not *accept* a boolean array,
even if it does not insist upon one. Might this
be considered a bug?
More information about the NumPy-Discussion