Hapus persentase dalam python

df['col'] = df['col'].str.rstrip('%').astype('float') / 100.0
Alert Antelope