Question: Create a dictionary 'Performance' with key/values named R_No= (1,2,3,4,5,6,8,9,_} and Grades= {a, b, c,_d, b, a, b, c, d) and perform the following operations

Create a dictionary 'Performance' with key/values named R_No= (1,2,3,4,5,6,8,9,_} and Grades= {a,

Create a dictionary 'Performance' with key/values named R_No= (1,2,3,4,5,6,8,9,_} and Grades= {a, b, c,_d, b, a, b, c, d) and perform the following operations and write the expected output. i. Replace the empty values with 0' in R_ No and with 'E' in Grades on original data [2M] ii. Remove the empty cell rows and store in dictionary [2M] il. Remove all duplicates on original data. [2M] iv. Replace the empty cells with mean on column R_No [2M] v. Use index 'Dup' for duplicated values on Grades in original data (2M] vi. Assign explicit indices (AA, BB, CC, DD, EE, FF, GG, HH, II, J) to the dictionary [2M]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

python code of quesion is written below hope its clear from future import division printfunction import sys import numpy as np import scipy as sp import matplotlibpyplot as plt from matplotlibtransfor... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!