Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Python :: python flask how to remove last character from string 
Python :: install glob module in linux 
Python :: discordpy owner only command 
Python :: automate boring stuff with python 
Python :: only read some columns from csv 
Python :: python jwt 
Python :: python circular import 
Python :: django example 
Python :: modify a list with for loop and range function in python 
Python :: python mod function 
Python :: python file modes 
Python :: how to convert tuple into list in python 
Python :: sphere volume formula 
Python :: python inject into process 
Python :: how to use the super 
Python :: linking bootstrap in flask 
Python :: python tkinter label widget 
Python :: how to type using selenium python 
Python :: python variable is not none 
Python :: python pandas read_excel 
Python :: python if type dict 
Python :: dataframe unstack 
Python :: installation of uvicorn for fastapi 
Python :: python switch statement 
Python :: parallel loops in python 
Python :: bar plot group by pandas 
Python :: how to get what type of file a file is in python 
Python :: how to correlation with axis in pandas 
Python :: raw query in django 
Python :: python dict sortieren 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =