Need to convert list of values with long mantissa into pd.DataFrame without precision lost:
My list of decimals:
The way pd.DataFrame convert it.
Need to convert list of values with long mantissa into pd.DataFrame without precision lost:
My list of decimals:
The way pd.DataFrame convert it.
Copyright © 2021 Jogjafile Inc.


The values are stored with the correct precision, they are just truncated when you display them.
You can change the precision used by pandas when displaying datarames by using
pd.set_option('display.precision', num_decimal_digits).For example
prints