I have array numpy
a = array([[1.31927e-34],
[5.46819e-38],
[5.08072e-38],
[5.07986e-35],
[1.30973e-34],
[1.99656e-34]], dtype=float32)
when I try to convert to float
for ele in a:
float("{:.5f}".format(ele))
my error unsupported format string passed to numpy.ndarray.format. Pls help me.