Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

series astype

# Simple conversion - series to integer
series.astype(int)

# Dataframe column conversion
df.column_name.astype(int)
 
PREVIOUS NEXT
Tagged: #series #astype
ADD COMMENT
Topic
Name
9+4 =