I have a problem when I try to remove ^M from a csv
When I type vim or vi file.csv, I get
A, TK,2015-04-06,14.4^M,14.7,10.0,0.0,54.0^M,13.3^M,135.0^M
You could use dos2unix command which is provided to do that.
dos2unix
Using GNU/sed just for fun :
sed -i -e "s/\r//g" file
Using tr :
tr
tr -d '\r' file2