i tried to create a pandas dataframe like below
import pandas as pd
import numpy as np
a = pd.DataFrame([10212764634169927, 10212764634169927, 10212764634169927], columns=['counts'], dtype=np.float64)
a returns as:
So, my question is, why is the last digit modified?
Thanks in advance!
EDIT: i understand it has to do with the dtype. But why +1 to the last digit specifically? If i were to use 10212764634169926 instead, nothing happens, the results keeps to 10212764634169926. The same is with 10212764634169928, it returns 10212764634169928