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