I want to know how can I increase the number of significant digits beyond the decimal. The original "rf" numpy array contains floating point numbers.
import numpy as np
rf=daily_rets(df)
[ 7.11441183 7.12383509 7.13325787 7.16152716 7.17094994 7.17094994 7.18979692 7.18979692 7.19921923 7.19921923 7.19921923 7.19921923 7.19921923 7.19921923 7.19921923 7.20864296 7.20864296 7.20864296 7.20864296 7.20864296]
But when I perform the operation I get an undesired output
rf[0:]=(1+rf[0:]/100)**(1/252)
I get the following output [ 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
np.around() also does not help giving me the same output as above
rf[0:]=np.around((1+rf[0:]/100)**(1/252), decimals=6)
I realize the above operation would make the numbers very small, still I want the numbers beyond decimals to appear