I am reading a .dat file which has float value like "-1.752"
, when i read this value using read_csv
I am getting "-1.7519999999999998"
value.
Not sure how to fix this extra decimal values.
Below is the code i used it:
SOU2PD=pd.read_csv(file_loc+file_name+".dat", sep='\x01',header=None,engine='python',dtype={5 : float,9:float,11:float}).
Please suggest me.