How to keep the decimal place as it is when converting a dataframe into csv file?
For example, this is how my dataframe looks like:

[![enter image description here](https://i.stack.imgur.com/XVvnN.png)](https://i.stack.imgur.com/XVvnN.png)

When I tried to convert using 
`df.to_csv('C:/Users/data/data.csv', index=False)`, my output for value became 1.0 or 0.0, instead of 1 or 0. 
I cannot use `('C:/Users/data/data.csv', float_format="%.0f', index=False)`, because that makes my `version` variable lose decimal places. 
How can I preserve the original data, without adding or losing decimal places? I have many other value columns, value1, value2,..valuen.