pandas convert object to type that able to do calculation ...
Apr 14, 2018· 1. I have a df column data type is an object, e.g value = $45.00 I try to sum up the total amount in that column but got the following error: output: Wash_amount = df ['WASHING'].sum () TypeError: unsupported operand type (s) for +: 'int' and 'str'. Before that i tried to convert all the columns …