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