Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert dataframe column to float

df["col"] = df["col"].astype(float)
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #convert #dataframe #column #float
ADD COMMENT
Topic
Name
5+8 =