DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to change column type to string in pandas
# Convert "Fee" from int to string df = df.astype({'colomnName':'string'}) print(df.dtypes)
Source by sparkbyexamples.com #
PREVIOUS
NEXT
Tagged:
#change
#column
#type
#string
#pandas
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit