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