Python Get Dimension Of Numpy Array Shape