Input:
mp = [1,2,3,4] tw = [4,7,3,5] cw = [] # create the data frame: df = pd.DataFrame((cw), columns = ["1","2","3","4&q