Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Converting objects into integers

#Converting Product_Category from uint8 into integers and then assign the values back to df

df['Product_Category']=df['Product_Category'].astype(int)
 
PREVIOUS NEXT
Tagged: #Converting #objects #integers
ADD COMMENT
Topic
Name
1+6 =