I'm trying to read a json file that contains an attribute like "registration":1540558108796.0
. When pandas read, it converts the number to 1.54056e+12
I've tried to set dtypes:
df = pd.read_json(filepath, dtype={'registration': object}, lines=True)
But still printing same value 1.54056e+12
.
How can I fix it?