When I am using to_numeric() convert my string values to float. The values are getting rounded off. How to avoid it?
import numpy as np
import pandas as pd
s = pd.Series(['1.1122334455', '2.1112223334444', -3.234234234234324])
print(pd.to_numeric(s))
Output:
0 1.112233
1 2.111222
2 -3.234234
dtype: float64
I want all the decimal values or at least 11 for my requirement. Any help will be appreciated.