Numpy follow zero indexing and the negative indexing startfrom -1
Ravel is used to modify the array which affects the array while the flatten is used for the copy
array
Loops are slow
So we use broad casting without usng loops
Vectorization is applying the formula or a condition without a loop
We cannot compare nan values
To replace the infinity values