Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas convert float to int

df['col'] = df['col'].astype(int)
 
PREVIOUS NEXT
Tagged: #pandas #convert #float #int
ADD COMMENT
Topic
Name
5+5 =