Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to change data type from int to float in dataframe

df['DataFrame Column'] = df['DataFrame Column'].astype(float)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #change #data #type #int #float #dataframe
ADD COMMENT
Topic
Name
6+2 =