Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change float column to percentage python

    df.style.format({'var1': "{:.2f}",'var2': "{:.2f}",'var3': "{:.2%}"})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #float #column #percentage #python
ADD COMMENT
Topic
Name
6+1 =