npy_compat

Numpy functionality that is not uniform across the supported versions.