numpy 0d array work around