Numpy.axiserror Axis 1 Is Out Of Bounds For Array Of Dimension 1