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