Answers for "convert float data to int dataframe"

1

convert dataframe to float

df["data"] = df["data"].astype(float)
Posted by: Guest on July-25-2021
0

pandas convert float to int

df['col'] = df['col'].astype(int)
Posted by: Guest on January-25-2021

Code answers related to "convert float data to int dataframe"

Python Answers by Framework

Browse Popular Code Answers by Language