While working with numpy, I observed something strange. When I print a variable using print()
and I format the print usingprint(f'{<variable>:.9f})
gives different values.
For example,
or
I am not sure why this is happening. the variable lidar_synchronized_timeshamps
is first read in as list of strings, then converted to numpy
array using np.asarray().astype(np.float128)
. Any help in understanding whats happening here is really appreciated.
2