s = pd.Series([1001.0, 1002.0, None])
a = s.loc[s.isnull()].fillna('')
b = s.loc[s.notnull()].astype(int).astype(str)
result = pd.concat([a, b])
How to I change data-type of pandas data frame to string with a defined format