Difficulty: 5/10shape, dtype, stridesndim, shape, size, and dtype are the attributes of an array.The number of dimensions of an array is contained in the ndim attribute.CopyThe shape of an array is a tuple of non-negative integers that specify the number of elements along each dimension.CopyThe total number of elements in array is contained in the size attribute.CopyArrays are typically “homogeneous”, meaning that they contain elements of only one “data type”. The data type is recorded in the dtype attribute.CopyScenario Questions0-2 years experience1You need to turn a flat array of length 12 into a 3 × 4 matrix. Which numpy attribute would you inspect to confirm the reshape worked, and how would you check it?2If printing `a.shape` gives you `(5,)`, what does that tell you about the array's dimensions and how would you verify its size?3How would you find out exactly how many bytes of RAM a given numpy array is using?Follow-up QuestionsWhat impact does changing the dtype have on .nbytes and performance?How would you handle a situation where .strides indicate a non‑contiguous array?Can you give an example where .shape and .size might reveal an unexpected reshaping bug?Suggest Improvement