Answers for "change a coolumn datatype in pandas"

0

change a coolumn datatype in pandas

df = df.astype({"Column 1": float, "Column 2": int})
Posted by: Guest on February-19-2021

Code answers related to "change a coolumn datatype in pandas"

Python Answers by Framework

Browse Popular Code Answers by Language