Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas convert column to nullable integers dtype

df['myCol'] = df['myCol'].astype('Int64')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #convert #column #nullable #integers #dtype
ADD COMMENT
Topic
Name
5+8 =