Expected Output:

Creating 5X2 array using numpy.arange [[100 110] [120 130] [140 150] [160 170] [180 190]]

Solution:

import numpy print("Creating 5X2 array using numpy.arange") sampleArray = numpy.arange(100, 200, 10) sampleArray = sampleArray.reshape(5,2) print (sampleArray)

total answers (1)

start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.

need an explanation for this answer? contact us directly to get an explanation for this answerSolution: