Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

astype python

>>> ser = pd.Series([1, 2], dtype='int32')
ser
0    1
1    2
dtype: int32

>>> ser.astype('int64')
0    1
1    2
dtype: int64
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #astype #python
ADD COMMENT
Topic
Name
8+5 =