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:

Submit Python code to complete the following tasks: 1. Creat…

Submit Python code to complete the following tasks: 1. Create a 3×2 pandas DataFrame from a dictionary that looks like this (row and column names are bolded):   bpm_1 bpm_2 Bob 95 70 Emily 83 98 Jude 65 82 2. Use the np.mean function to calculate row means and add this column to the DataFrame: bpm_1 bpm_2 bpm_avg Bob 95 70 82.5 Emily 83 98 90.5 Jude 65 82 73.5 3. Filter the dataset to select only rows with homework means above 80: bpm_1 bpm_2 bpm_avg Bob 95 70 82.5 Emily 83 98 90.5