Submit Python code to complete the following tasks: Import…
Submit Python code to complete the following tasks: Import the necessary packages with standard aliasing. Create a one-dimensional array named arr of length 100,000 filled with random numbers between 0 and 1 (hint: np.random.rand). Reshape the one-dimensional array to be a two-dimensional array (matrix) such that the length of the second dimension is 200 (matrix with 200 columns). For each column, compute the proportion of elements with a value above 0.25. Store the results in a one-dimensional array named arr2 Plot a histogram with density overlaid of the values in arr2 with title “Sampling Distribution of Proportion” and x-axis label “Proportion”. It is not expected to format the axis ticks. If you’ve done each step correctly, your final plot should look similar to the following: