unsupported format string passed to numpy.ndarray

If you still want format

list(map('{:.2f}%'.format,x))
Out[189]: ['1.23%', '2.35%', '3.46%']

Leave a Comment