I have the following numpy array:
arr= [[ 0. 0.1046225518 0. 0.8953774482 0. ]]
For the moment I have
values= str(np.around([arr*100],decimals=2))
returning:
[[ 0. 10.46 0. 89.53 0. ]]
If I + %
to values, it returns
[[ 0. 10.46 0. 89.53 0. ]]%
The desired output is :
[[ 0. 10.46% 0. 89.53% 0. ]]