Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas round floats

df_new.round(1) #number of desired decimal points
Source by radiant-brushlands-42789.herokuapp.com #
 
PREVIOUS NEXT
Tagged: #pandas #floats
ADD COMMENT
Topic
Name
1+1 =