Question: python library ->numpy b) Write down the correct output based on the given Python scripts. import numpy as np month = np.array([Jul, Aug, Sep, Oct]).
python library ->numpy

b) Write down the correct output based on the given Python scripts. import numpy as np month = np.array(["Jul", "Aug", "Sep", "Oct"]). x1,x2,x3 np.split (month, [1,3]) mat = np.matrix('1 2; 3 4' ) left, right np.hsplit (mat, [1]) top, bottom = np.vsplit(mat, [1]) i) print (month[-1]) ii) print (mat) iii) print (x2) iv) print (left) v) print (top)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
