Python Array Vs Ndarray Attributes In Math