DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+1 =
Submit