DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas change dtype to string
df['id'].astype(str) 0 1 1 5 2 z 3 1 4 1 5 7 6 2 7 6
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#change
#dtype
#string
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit