I need to change if a number in column is -after numbers

You’ll need to remove the commas from the string before doing float. You can do that with val.replace(',', '') to replace all commas with an empty string