Jun-18-2019, 07:47 AM
Hi everyone,
I am trying to change a format to int but I think it is having issues because the numbers have ,.
Anyone know how I can either remove the , form the column in the dataframe or convert to int with ,?
Thanks
I am trying to change a format to int but I think it is having issues because the numbers have ,.
data['Imports_vfd'].astype(str).astype(int)ValueError: invalid literal for int() with base 10: '7,255'
Anyone know how I can either remove the , form the column in the dataframe or convert to int with ,?
Thanks