Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert a column to int pandas

df[column_name]= pd.to_numeric(df[column_name],errors='coerce')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #column #int #pandas
ADD COMMENT
Topic
Name
9+1 =