I have the value placed in the data frame.
abc = data
abc = pd.DataFrame(abc)
total = abc['profit'].sum()
print(total)
output of print(abc['profit'])
0 -720.00
1 2,620.00
Name: m2m, dtype: object
total = abc['profit'].sum()
print(total)
The output is showing like this:
-720.002,620.00
I want value should be the sum and provide one output.
looking for help,