I was surprised to learn that
myval = 14.50
If you're using 2.x the default python round function should do what you want for positive floats.
>>> round(14.5) 15.0 >>> round(14.49) 14.0
Not sure what best practices are but this works for a dataframe and python 2.x:
df = pd.DataFrame([1.5,2.5,3.5]) rounded_df = df.applymap(round)
Note python 2.x's round rounds away from zero so it will round negative numbers down.