Numpy Check If Array Is 1d Getting Back