Answers for "Converting objects into integers in python"

0

Converting objects into integers in python

# Converting objects values of Stay_In_Current_City into integers and assign the result back to df

df['Stay_In_Current_City']=df['Stay_In_Current_City'].astype(int)
Posted by: Guest on March-09-2022

Code answers related to "Converting objects into integers in python"

Python Answers by Framework

Browse Popular Code Answers by Language