""" To try the examples in the browser: 1. Type code in the input cell and press Shift + Enter to execute 2. Or copy paste the code, and click on the "Run" button in the toolbar """ # The standard way to import NumPy: import numpy as np # Create a 2-D array, set every second element in # some rows and find max per row: x = np.arange(15, dtype=np.int64).reshape(3, 5) x[1:, ::2] = -99 x # array([[ 0
![NumPy -](https://cdn-ak-scissors.b.st-hatena.com/image/square/9075178fac766ce6b19af3ef1758d1b7dd84d042/height=288;version=1;width=512/https%3A%2F%2Fnumpy.org%2Fimages%2Fnumpy-image.jpg)