This caused a few issues when we got a Boolean-Dtype extension array which was used as mask/indexer instead of a numpy array. See #45983
We can avoid this through definining nonzero
on ea arrays.
Comment From: jbrockmendel
do NAs count as nonzero?