It's a very Pythonic shorthand, though. I think it would be cleaner to typecheck and raise a `TypeError` for a 0-d array:

```python
>>> isinstance(np.array(1), (np.integer, Integral))
False
```