Question: using python 15. Write a python expression that given a dataframe with two columns ( A; ' B ') expand the dataset with a third
15. Write a python expression that given a dataframe with two columns ( A; ' B ') expand the dataset with a third column (A+B) that shows the values of a+b. input: [A:'B] [1,2] [3,4] [5,6] [7,8] Output: [A,B,A+B] [1,2,3] [3,4,7] [5,6,11] [7,8,15] [
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
