I have a dataframe (df) like the following
I'm trying to convert the values in dataframe to int and float64 types.
df['poiid'] = df['poiid'].astype(int)
df['lng'] = df['lng'].astype('float64')
df['lat'] = df['lat'].astype('float64')
The code above does not work properly for float64, it only takes 6 decimal values after comma for lng and lat attributes. ( Please see the Output below)
Output
My expectation is 10 digits after the comma
my expectation output:
8904 -94.6074986458, 39.0523183095
...