Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas currency to numbe

df[df.columns[1:]] = df[df.columns[1:]].replace('[$,]', '', regex=True).astype(float)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #currency #numbe
ADD COMMENT
Topic
Name
4+8 =