Search
 
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
Name
5+2 =