DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
change a coolumn datatype in pandas
df = df.astype({"Column 1": float, "Column 2": int})
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#change
#coolumn
#datatype
#pandas
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit