how to apply a function to a series with mixed numbers and integers,"pd.to_numeric(a, errors='coerce').fillna(-1)"