df['col'] = df['col'].astype(int)
#First replace all NaN values with 0 and convert df['col'] = df['col'].fillna(0).astype(int)
pandas.DataFrame.fillna(0)