I've a dataframe
d = {'s': '3.4E-4'}
df = pd.Dataframe(d)
I want to convert this to numeric
pd.to_numeric(df['s'], errors='coerce')
This doesn't work because of the presence of -
I think.
Any suggestion on how to convert the string to numeric?