Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert string to int dataframe column

df["col-1"] = pd.to_numeric(df["col-1"])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int #dataframe #column
ADD COMMENT
Topic
Name
2+3 =