Как удалить .0 из строкового столбца с пустыми строками в Python

df = df.astype(str).replace(r'\.0$', '', regex=True)
Tomer Mantzuri