remove trailing zeros after string dataframe code example
Example: remove trailing zeros python
var = round(var, 1) #the first value is the number or var
#to round, the second is what desimal to round to
var = round(var, 1) #the first value is the number or var
#to round, the second is what desimal to round to