Class from which most (all?) numpy scalar types are derived. For
consistency, exposes the same API as ndarray, despite many
consequent attributes being either “get-only,” or completely irrelevant.
This is the class from which it is strongly suggested users should derive
custom scalar types.