I want to make a function which takes differences for each column in data frame mentioned in second input - tran_list.
If for example first item of trans_list is \'di