dataframe float64 to int code example Example: pandas convert float to int df['col'] = df['col'].astype(int)