modify the np.ndarray in python snippets
Spelling change