[Numpy-discussion] Fwd: Documentation Team meeting - Monday March 14

2022-03-12 Thread Melissa Mendonça
Hi all! Our next Documentation Team meeting will happen on *Monday, March 14* at ***4PM UTC***. All are welcome - you don't need to already be a contributor to join. If you have questions or are curious about what we're doing, we'll be happy to meet you! If you wish to join on Zoom, use this lin

[Numpy-discussion] np.bool_ vs Python bool behavior

2022-03-12 Thread Jacob Reinhold
A pain point I ran into a while ago was assuming that an np.ndarray with dtype=np.bool_ would act similarly to the Python built-in boolean under addition. This is not the case, as shown in the following code snippet: >>> np.bool_(True) + True True >>> True + True 2 In fact, I'm somewhat confuse